If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

 
Go Back  dBforums > Data Access, Manipulation & Batch Languages > JAVA > hide query string

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 01-17-09, 04:25
asish asish is offline
Registered User
 
Join Date: Jan 2009
Posts: 1
hide query string

Hi....
i want to hide the querystring in the addressbar using javascript.

can anybody plz help me out???
Reply With Quote
  #2 (permalink)  
Old 01-23-09, 00:27
hkp819 hkp819 is offline
Registered User
 
Join Date: Dec 2008
Posts: 59
Here is code how to hide these query string values from other people viewing this page
Code:
<HTML>
<HEAD>
<TITLE>Query String</TITLE>
</HEAD>
<BODY bgColor=LightCyan>
<h1 align=center>Query String</h1>
<hr color="red">

<a href="querystring.asp?username=Arnold&email=ar@yahoo.com">Hello</a>
</BODY>
</HTML>

(querystring.asp)
<%@ Language=VBScript %>
<HTML>
<HEAD>
<META NAME="GENERATOR" Content="Microsoft Visual Studio 6.0">
</HEAD>
<BODY>

<%
Response.Write Request.QueryString("username")&"<br>"
Response.Write Request.QueryString ("email")

%>

</BODY>
</HTML>
__________________
New York Web design
Website design

Reply With Quote
  #3 (permalink)  
Old 01-23-09, 08:42
gvee gvee is offline
www.gvee.co.uk
 
Join Date: Jan 2007
Location: UK
Posts: 10,156
If you want to hide the querystring, you shouldn't be using querystings in the first place!

Querystrings are generated when using the GET method of an input form - you should be using POST (Request.Form)

ASP Forms
__________________
George
Twitter | Blog
Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On