|
-
Apr 1st, 2001, 10:10 PM
#1
Thread Starter
Lively Member
I have visited some sites that prompt users to extend their session. Anybody know how it's been done? I really need help on this.
-
Apr 3rd, 2001, 08:14 AM
#2
Hyperactive Member
I think they have some kind of an object that tracks the idle time (client-side) and then prompts the user when they've been idle for a time that is close to the session timeout setting. Does that make sense?
Achichincle
VB6 (VSEE SP5, W2KPro)
ASP
HTML
-
Apr 3rd, 2001, 08:05 PM
#3
Thread Starter
Lively Member
One way to do this is thru cookies. But i'm using session object in ASP. So i'm trying to use the session_onEnd event to achieve the same effect. Unfortunately, there's some limitation on this event that does not run the function response.redirect when the session is ended??
-
Apr 3rd, 2001, 11:03 PM
#4
Hyperactive Member
Well... I think Response.Redirect won't work since you've already written out all your HTML headers no? And since it's on the server-side I don't think it'll let you control the client...
Maybe some Javascript timer-like function that gets kicked off whenever you load a page and then if the time expires it pops up a message box?
Achichincle
VB6 (VSEE SP5, W2KPro)
ASP
HTML
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|