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 PostThe ASP.NET Membership service supports this feature. To get the particular user's last activity date, use LastActivityDate property and to indicate whether the user is online or not use IsOnline property.
You can only use the property to check user is online or not. If user performs an action then …
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.