Results 1 to 4 of 4

Thread: Session timeout to Login

Hybrid View

Previous Post Previous Post   Next Post Next Post
  1. #1
    Join Date
    Feb 2009
    Location
    SW Connecticut/NY area
    Posts
    9,181

    Default Session timeout to Login

    I have a phone app that was written using the old Ajax framework and which for the most part works quite nicely. One rough edge is that on the phone app the users tend not to log out and instead simply switch over to another app, leaving it running sort of in the background. The session manager will eventually throw the timeout error and then when the users go back to my phone app they get this big ugly error telling them to hit F5 which of course the phone doesnt' have. Sure, I could simply change the error to say "Hey bozo, you didn't log out, refresh the browser..." but it's still ugly (You can put lipstick on a pig...) and what should really happen is that they get automatically logged out so that when they go back to the app they just get presented with the login screen.

    I've googled around looking for a good way to do this simple task but apparently it isn't all that simple and I couldn't find anything in the forum. Has anyone done it?
    Bob Worsley
    203-249-2633
    rlworsley at gmail.com

    Do or do not. There is no try. — Yoda

  2. #2
    Join Date
    Feb 2009
    Location
    SW Connecticut/NY area
    Posts
    9,181

    Default Re: Session timeout to Login

    Never mind, figured it out.
    Bob Worsley
    203-249-2633
    rlworsley at gmail.com

    Do or do not. There is no try. — Yoda

  3. #3
    Join Date
    Feb 2009
    Location
    Castlegar, BC Canada
    Posts
    4,837

    Default Re: Session timeout to Login

    we knew you would... you may have heard. Its called "The Worsley" effect

    Anyway, I would be curious about your resolution it you had time to post it.

    M

  4. #4
    Join Date
    Feb 2009
    Location
    SW Connecticut/NY area
    Posts
    9,181

    Default Re: Session timeout to Login

    Quote Originally Posted by Mike Cooper View Post
    we knew you would... you may have heard. Its called "The Worsley" effect
    M
    Except this time it took me a day and a half. I'll send you a note privately about the solution.
    Bob Worsley
    203-249-2633
    rlworsley at gmail.com

    Do or do not. There is no try. — Yoda

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •