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 gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

QueryString Encoding

Status
Not open for further replies.

cw26

Programmer
May 8, 2003
11
CA
I need to hide the parameters in the URL of my ASP. I can't use 'Request.Form' since the ASP must be loaded from a hyperlink.

Is there any way to encode my QueryString so that the parameters are hidden in the URL?

Thanks.
 
Try Server.URLEncode? Or do you really want to hide them? Then you might consider using Session objects...
 
I have just recently done this on my site, I did a search for encryting on any search engine found a good base 64 script written in vbscript and I use it to encrypt and decrypt the url. At least the users don't know what it means.
 
-->ASP must be loaded from a hyperlink.

Why can't you do a POST from a hyper?

EI:
<a href=&quot;javascript:MyForm.submit()&quot;>submit form</a>

_________________________________________________________
$str = &quot;sleep is good for you. sleep gives you the energy you need to function&quot;;
$Nstr = ereg_replace(&quot;sleep&quot;,&quot;coffee&quot;,$str); echo $Nstr;

onpnt2.gif
[/sub]
 
I think they mean a link such as one you would receive in an email

-Tarwn

01010100 01101001 01100101 01110010 01101110 01101111 01101011 00101110 01100011 01101111 01101101
29 3K 10 3D 3L 3J 3K 10 32 35 10 3E 39 33 35 10 3K 3F 10 38 31 3M 35 10 36 3I 35 35 10 3K 39 3D 35 10 1Q 19
Get better results for your questions: faq333-2924
Frequently Asked ASP Questions: faq333-3048
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top