Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

How to [color red]suppress/hide query string?

Status
Not open for further replies.

oresanya

Programmer
Dec 13, 2001
2
US
I'm running a number Crystal Reports (v8) through the web server, passing in username & password along with other information in the URL. However, I don't want the username & password to show up in the address line when the report is run.

I appreciate any input!
Thanks.
 
Try to use code something like this
use your Rpt file as action file,

<FORM METHOD=POST ACTION=&quot;YourReport.rpt&quot;>
<input type=&quot;hidden&quot; name=&quot;username&quot; value=&quot;yourUser&quot;>
<input type=&quot;hidden&quot; name=&quot;username&quot; value=&quot;yourPassword&quot;>
 
Unfortunately, I'm not using a form or post, to call up the reports, so I can't pass in the parameters as hidden elements.

What I'm doing is calling the report with a query string as in: myreport.rpt?username=&quot;myusername&quot;&password=&quot;mypassword&quot;....

Can I still find a way to hide the parameters in the query string, so it doesn't appear on the address line???

Thanks for your input!
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top