Results 1 to 2 of 2

Thread: Address bar content?

  1. #1

    Thread Starter
    Addicted Member
    Join Date
    Aug 2002
    Location
    top of the mountain
    Posts
    234

    Question Address bar content?

    Hi,

    I'm wondering how to achieve this:

    on webpage1.aspx when user click on button it will be redirected to webpage2.aspx with some parameters in querystring, and then I want to address bar show only webpage2.aspx without query string.

    How to do this?

    thanks j

  2. #2
    Hyperactive Member tailz's Avatar
    Join Date
    Jul 2002
    Posts
    306
    Depending on how your button works (is it a standard hyperlink or a server-control?) you could "post" the data to webform2 although only practical option if the client is submitting the data.

    What about using Session variables?

    In the code in your webform1 button put something like:

    VB Code:
    1. Session("TempVariableName") = Value
    2. Response.Redirect("/webform2.aspx")

    Then in webform2 just read it back with

    VB Code:
    1. Value = Session("TempVariableName")

Posting Permissions

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



Click Here to Expand Forum to Full Width