Wrox Home  
Search P2P Archive for: Go

  Return to Index  

asp_databases thread: How to go to a previous page in ASP.


Message #1 by Anupama Nallari <ANallari@p...> on Mon, 26 Nov 2001 10:21:02 -0600
Hi,

I have a Support Request Form and I have a link to another page to upload

files.

The problem I am facing is that after the user clicks on the link and

uploads the files I want the user to come back to the previous page to

submit the request. 

How do I do that?

If I use response.redirect("Pagename") all the information entered by the

user previously is wiped out. I want to retain the information already

entered.



Any help in this respect would be greatly appreciated.



Thanks,



Anu





Message #2 by Sam Clohesy <sam@e...> on Mon, 26 Nov 2001 16:32:44 -0000
("http_referer") will take them back to the page they came from. If not why

not use a javascipt history?



Sam Clohesy

Project Manager

Tel: 0208 772 3958

E: samc@e...

W: http://www.etypemedia.co.uk





-----Original Message-----

From: Anupama Nallari [mailto:ANallari@p...]

Sent: 26 November 2001 16:21

To: ASP Databases

Subject: [asp_databases] How to go to a previous page in ASP.





Hi,

I have a Support Request Form and I have a link to another page to upload

files.

The problem I am facing is that after the user clicks on the link and

uploads the files I want the user to come back to the previous page to

submit the request. 

How do I do that?

If I use response.redirect("Pagename") all the information entered by the

user previously is wiped out. I want to retain the information already

entered.



Any help in this respect would be greatly appreciated.



Thanks,



Anu







 




$subst('Email.Unsub')

Message #3 by Greg Griffiths <griffiths@x...> on Mon, 26 Nov 2001 20:08:56 +0000
Javascript provides access to the Document.History object, so you can grab 

elements of that along with document.referrer as well.



At 10:21 26/11/01 -0600, you wrote:

>Hi,

>I have a Support Request Form and I have a link to another page to upload

>files.

>The problem I am facing is that after the user clicks on the link and

>uploads the files I want the user to come back to the previous page to

>submit the request.

>How do I do that?

>If I use response.redirect("Pagename") all the information entered by the

>user previously is wiped out. I want to retain the information already

>entered.

>

>Any help in this respect would be greatly appreciated.

>

>Thanks,

>

>Anu

>

>

>

>






Message #4 by "Drew, Ron" <RDrew@B...> on Wed, 28 Nov 2001 18:15:17 -0500
Javascript



  window.history.go(-1);



-----Original Message-----

From: Greg Griffiths [mailto:griffiths@x...] 

Sent: Monday, November 26, 2001 3:09 PM

To: ASP Databases

Subject: [asp_databases] Re: How to go to a previous page in ASP.





Javascript provides access to the Document.History object, so you can grab 

elements of that along with document.referrer as well.



At 10:21 26/11/01 -0600, you wrote:

>Hi,

>I have a Support Request Form and I have a link to another page to 

>upload files. The problem I am facing is that after the user clicks on 

>the link and uploads the files I want the user to come back to the 

>previous page to submit the request.

>How do I do that?

>If I use response.redirect("Pagename") all the information entered by the

>user previously is wiped out. I want to retain the information already

>entered.

>

>Any help in this respect would be greatly appreciated.

>

>Thanks,

>

>Anu

>

>

>

>




>$subst('Email.Unsub')





 

---

You are currently subscribed to asp_databases as: RDrew@B... To

unsubscribe send a blank email to $subst('Email.Unsub')


  Return to Index