View Single Post
  #1  
Old 08-11-2006, 02:46 PM
vandort vandort is offline
Junior Member
 
Join Date: Aug 2006
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
Rep Power: 0
vandort is on a distinguished road
Default clear session variable

I have a form submission page that I am using some session variables that are created on the page in order to keep track of the information that they have already inputted - so when they click submit if there are any errors the fields that are correct remain populated.

However, I am wondering is there a way that if they navigate away from this one page all the session variables that are created are removed so if they come back to the page they need to re-enter the information?

Something like "on page exit - remove session("name")..." ? -- This message may have been cut off and the rest will only be shown to members. To become a member, click here --
Reply With Quote
  Webmaster Forums - View Single Post - clear session variable
View Single Post
  #1  
Old 08-11-2006, 02:46 PM
vandort vandort is offline
Junior Member
 
Join Date: Aug 2006
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
Rep Power: 0
vandort is on a distinguished road
Default clear session variable

I have a form submission page that I am using some session variables that are created on the page in order to keep track of the information that they have already inputted - so when they click submit if there are any errors the fields that are correct remain populated.

However, I am wondering is there a way that if they navigate away from this one page all the session variables that are created are removed so if they come back to the page they need to re-enter the information?

Something like "on page exit - remove session("name")..." ? -- This message may have been cut off and the rest will only be shown to members. To become a member, click here --
Reply With Quote