This is actually the Plan B workaround for accessing help; we
wanted users authenticated during program login, but that didn't
make it into the program yet. So, we're forced to use our web
portal security for the help file.
As to why it removes the # sign, I can only go by what the
web guys tell me. Apparently, when the login script works its
magic, it does some kind of query_string function to get the URL
that the user actually wanted. So, the application launches the
browser and goes to look for this URL (stage 1):
http://www.companyname.com/doc_central/help/help_csh.htm#topicId=TOPIC,withnavpane=true.
It finds that, does magic, and comes back with this URL
(stage 2):
http://www.companyname.com/doc_central/help/help.htm#TOPIC.htm.
This tries to load and runs into the login, which saves part
of the URL it was looking for (stage 3):
https://www.companyname.com/Apps/Portal/Login/LoginPage.aspx?/doc_central/help/help.htm.
The way our web guys explained it, the way they get the stuff
after the ? mark is using that query_string command, which doesn't
recognize anything after the # sign. I'm not sure if they can
intercept the URL in stage 2 before it hits the login script and
make the switch from # to something else.
Thanks for all the help, by the way. Also, my apologies for
substituting in generic terms for real values; the company values
confidentiality.