Results 1 to 3 of 3
  1. #1
    Join Date
    Jan 2009
    Posts
    1

    Unanswered: hide query string

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

    can anybody plz help me out???

  2. #2
    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>

  3. #3
    Join Date
    Jan 2007
    Location
    UK
    Posts
    11,434
    Provided Answers: 10
    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
    Home | Blog

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •