Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > General Computer Discussion > Software > Clear the Session value on page unload

Thread Tools

Clear the Session value on page unload

tessythampan tessythampan is offline
Junior Member
Join Date: Jul 2006
Posts: 5
i want to navigate from one page(1st) to another(2nd), and on clicking the cancel button of the 2nd page, i have to go back to the 1st page itself.
presently, i am using session variables to check whether the call to the 2nd page came from 1st page. but if i dont press the cancel button of the 2nd page, and go to some other pages, and then open the 2nd page, (as session variable contains it came from page 1) , on pressing cancel button, its going back to 1st page. I dont want this to happen. if its not from 1st page, i want to deviate to some other page. can anyone please help me in this problem.??
Reply With Quote
suhas pandit suhas pandit is offline
Junior Member
Join Date: Aug 2006
Location: mumbai, india
Posts: 2
does session.abandon not work on can solve the problem i guess...
Reply With Quote

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
What does "Page Load" and "Page Unload", "Page Life Cycle" exactlymean???? lander ASP .Net 5 03-03-2008 02:06 PM
What happens between Page.PreRender and Page.Unload event? Mariella Bakker ASP .Net 1 05-08-2006 09:49 AM
w3wp.exe Crash, Session Unload, Event ID 1000 =?Utf-8?B?Q2hyaXM=?= ASP .Net 2 03-05-2006 05:25 PM
Will Session automatic clear memory when I unload web page? ABC ASP .Net 2 12-20-2005 10:53 AM
When to unload Session obejects jorge ASP .Net 4 05-27-2004 03:28 AM