Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chriss Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Getting the Previous Page

Status
Not open for further replies.

KirkKelly

Programmer
Jan 5, 2001
15
US
The following code will get the previous page (refering page) and store it in a session object. You can then get the value out when you need it. Put this code in the pageLoad section:

Code:
setSessionValue("previouspage",req.getHeader("referer"));
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top