My session destroys automatically after every 25 min if the page is idle.
how can i prevent it and do session destroy only when browser is closed.
Please help

Recommended Answers

All 3 Replies

My session destroys automatically after every 25 min if the page is idle.
how can i prevent it and do session destroy only when browser is closed.
Please help

you can set the expiration time limit for your session data

My session destroys automatically after every 25 min if the page is idle.
how can i prevent it and do session destroy only when browser is closed.
Please help

just remove timeout function and use status of user.

you can set the expiration time limit for your session data

yeah that can be done... but i doubt if we can prevent expiring of sessions after closing the browser...
Though same can be achieved through cookies but i dunno if this is possible with sessions...
any ideas?

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.