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

about expiration variable session

P: 107
do variable session expire after specific time from opening page?
if answer yes ?how much is this time?
if variable session is set on server no expiration automatically
how do expire this variable after specific time?
do variable session expire with closing page that
session in that page is set?
thanks alot
Jan 24 '09 #1
Share this Question
Share on Google+
1 Reply

Expert Mod 5K+
P: 8,639
unless set otherwise, yes. depends on the server setting.

usually there is automatic expiration, changing the server settings is impossible with Javascript. although you can delete the session cookie.

no (that's why sessions were invented—keeping variables (such as login status) across pages)
Jan 24 '09 #2

Post your reply

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