redirect to new page

Results 1 to 5 of 5

Thread: redirect to new page

  1. #1
    CERqueen Guest

    Default redirect to new page

    I have a page that submits variables to another page to run a stored procedure which updates a database when a button is clicked. (form action = page.asp) After the stored procedure has run, I would like to display another page that requires input to run (access’s database to show recordset). Currently I redirect to another page that requires no input.<BR>Can I run the stored procedure from the 1st page that currently calls the page with the SP on it? How and where do I pass back the variable to the next page that I want displayed? <BR>

  2. #2
    Nathan Masek Guest

    Default RE: redirect to new page

    You could try putting the values into sesssion variables and then blanking them out (Session("var") = "") at the end of the page.<BR><BR>- Nathan Masek

  3. #3
    Join Date
    Dec 1969

    Default RE: redirect to new page

    To redirect to other page, try this:<BR><BR>Response.Redirect "page.asp?value1=&#039;jose&value2=12" <BR><BR>The file that receives the data must do:<BR>myvalue1=Request.QueryString("value1")<BR> Hope it helps.

  4. #4
    CERqueen Guest

    Default RE: redirect to new page

    Thanks, I&#039;ll give it a try!!

  5. #5
    Nathan Masek Guest

    Default RE: redirect to new page

    I thought about this but what if lots of values needed to be transferred or the values were really long. The url in the location bar could get VERY ugly.<BR>

Posting Permissions

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