Suppressing the URL

Results 1 to 4 of 4

Thread: Suppressing the URL

  1. #1
    Join Date
    Dec 1969
    Posts
    109

    Default Suppressing the URL

    Hey there,<BR><BR>Is it possible to suppress the URL that results from a GET<BR>request?<BR><BR>e.g.<BR><BR>I only want to show this:<BR><BR>http://www.domain.com/filename.asp<BR><BR>not this:<BR><BR>http://www.domain.com/filename.asp?var1=val1&var2=val2<BR><BR>I don&#039t think I can use a POST request. I&#039m using the<BR>Response.Redirect method.<BR><BR>Thanks!<BR><BR><BR>Oliver

  2. #2
    Join Date
    Dec 1969
    Posts
    2,849

    Default RE: Suppressing the URL

    Well, yes, you can use Session variables. There&#039s a good article on 4Guys about passing data, called "Four Ways to Pass Data From One ASP Page to Another." It talks about FORMs, using the QueryString, and using Session variables.<BR><BR>http://www.4guysfromrolla.com/webtech/041399-1.shtml<BR><BR>Happy Programming!

  3. #3
    Jeremy Running Guest

    Default RE: Suppressing the URL

    I&#039ve run into this situation before as well, and rather than use Session Variables to hold the data for every user, I created a form full of hidden fields that uses JavaScript to auto-submit when the page loads. If the form uses a "post" method, then the parameters will be truly hidden.<BR><BR>Mind you, this is only reliable in IE 3.0 / Netscape 3.0 and above.

  4. #4
    Join Date
    Dec 1969
    Posts
    109

    Default RE: Suppressing the URL

    Ok, so there&#039s no magic "secret". ;)<BR><BR>Should a Reponse.Redirect send posted form data to the url as well? The problem I&#039m having is redirecting a user to a page and maintaining the information they filled out on the form.<BR><BR>I&#039m trying to avoid Session variables but I may have to end up using them.<BR><BR><BR>Oliver


Posting Permissions

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