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

Hide Parameters in the URL

Status
Not open for further replies.

Phudsen

Technical User
Mar 7, 2003
136
A2
Hi all,

I have a DRW with ID Names, ID number ..etc. I made the Name as a hyperlink by which I am passing the staff ID number to search another page.

Everything is working fine, but, is there anyway to hide the ?ID=7898 in the URL. I mean hide the ID=IdNumber and pass it without being seen?

Thanks
Paulin
 
In a cookie or a session or you could pass it as Form Post instead of Form Get
Also you could encode your QueryString
 
I would suggest using the form POST method as I'm deadly opposed to the GET & Session methods.

Try this

<form action=&quot;ReceivingPage.asp&quot; method=&quot;post&quot;>
<!-- This will depend of your method of retrieving ID -->
ID <input type=&quot;text&quot; name=&quot;ID&quot;><br>
<input type=&quot;submit&quot; value=&quot;Submit&quot;>
</form>

In the receiving page, you can request this data with:

<% request.form(&quot;ID&quot;) %>
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top