hi,
can i change the sessions for a website by my own on my conditions , like if i wanna close the session if the user haven't done any work for a specified time and keeps reopening the sessions for active users ?
ayat abukhadra
0
Light Poster
Recommended Answers
Jump to PostIn the global.asax file there is a session_end function which is called when the timeout period for the website is reached. You can use that to alter any session variables or to clear them out completely if a user has been inactive.
Jump to PostI believe the default timeout for session is 20 minutes, but you can modify that in your web.config if you need to specify a different time span. Also, a note on hericles suggestion, the session_end event is available when using InProc session storage. This is the default option so unless …
All 5 Replies
hericles
289
Master Poster
Featured Poster
nakor77
21
Junior Poster in Training
ayat abukhadra
0
Light Poster
riteshbest
0
Light Poster
ayat abukhadra
0
Light Poster
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.