Any Way To Be Notified When a Web Session Will Be Timed Out

Discussion in 'Java' started by John Curley, Jul 15, 2004.

  1. John Curley

    John Curley Guest

    Hi, All:

    Just curious. In a Java Web Application, is there anyway the user can
    be notified that a session is about to be timed out. For example,
    could we pop up a popup window saying "You're session is set to expire
    in 2 minutes, please continue working in system..."

    I searched the Internet and many resources including J2EE Javadoc but
    couldn't find anything.

    Thanks,
    John Curley

    email:
     
    John Curley, Jul 15, 2004
    #1
    1. Advertising

  2. (John Curley) writes:

    > Just curious. In a Java Web Application, is there anyway the user can
    > be notified that a session is about to be timed out. For example,
    > could we pop up a popup window saying "You're session is set to expire
    > in 2 minutes, please continue working in system..."


    Only by using a Javscript with a timer.
     
    Tor Iver Wilhelmsen, Jul 15, 2004
    #2
    1. Advertising

  3. John Curley

    VisionSet Guest

    "John Curley" <> wrote in message
    news:...
    > Hi, All:
    >
    > Just curious. In a Java Web Application, is there anyway the user can
    > be notified that a session is about to be timed out. For example,
    > could we pop up a popup window saying "You're session is set to expire
    > in 2 minutes, please continue working in system..."
    >
    > I searched the Internet and many resources including J2EE Javadoc but
    > couldn't find anything.
    >


    With an applet you can do:

    use this serverside:
    javax.servlet.http.HttpSessionListener

    then talk to applet with a stream over http.

    --
    Mike W
     
    VisionSet, Jul 15, 2004
    #3
    1. Advertising

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. Steve
    Replies:
    0
    Views:
    5,341
    Steve
    Jul 1, 2003
  2. Joseph Geretz
    Replies:
    1
    Views:
    245
    Anthony Jones
    Sep 5, 2008
  3. KevinSimonson
    Replies:
    2
    Views:
    508
    Roedy Green
    Nov 25, 2010
  4. Jazzis
    Replies:
    2
    Views:
    253
    Jazzis
    Sep 23, 2003
  5. Glenn M. Lewis
    Replies:
    1
    Views:
    98
    Zach Dennis
    Oct 1, 2004
Loading...

Share This Page