Results 1 to 4 of 4

Thread: extending session

  1. #1

    Thread Starter
    Lively Member
    Join Date
    Aug 1999
    Posts
    89

    Exclamation

    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.

  2. #2
    Hyperactive Member
    Join Date
    Feb 2001
    Location
    LoCal
    Posts
    280
    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

  3. #3

    Thread Starter
    Lively Member
    Join Date
    Aug 1999
    Posts
    89
    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??

  4. #4
    Hyperactive Member
    Join Date
    Feb 2001
    Location
    LoCal
    Posts
    280
    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
  •  



Click Here to Expand Forum to Full Width