By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
438,659 Members | 1,678 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 438,659 IT Pros & Developers. It's quick & easy.

how to clean session variable?

P: n/a
Hi all
i have a question
i have a variable in a session but i want to clear that session every time i refresh the page.
But i dont have an idee how.

can somebody help me?
Nov 11 '10 #1
Share this Question
Share on Google+
1 Reply

Expert 2.5K+
P: 3,405
Expand|Select|Wrap|Line Numbers
  1. Session("variablename")=""
  2. 'Or
  3. For each x in session
  4.    Session(x) =""
  5. Next
Does this answer your question?

Nov 11 '10 #2

Post your reply

Sign in to post your reply or Sign up for a free account.