Results 1 to 4 of 4
  1. #1
    Join Date
    Aug 2003
    Posts
    9

    Arrow Unanswered: Timeout - HTTP Session

    Hello everyone,

    I have a small problem...
    The general idea is:

    1. Get the maximum time of inactivity(t1) of a web page when a HTTP session expires.
    2. While another window is open, check the time of inactivity (t2) of this page.
    3. When t1=t2 make a refresh to the page.

    Does anyone has a suggestion on how can i do this?

    Thank you for your help.

    Regards,

  2. #2
    Join Date
    Jul 2003
    Location
    Ohio/Chicago
    Posts
    75
    did page one open page two or vice versa?

  3. #3
    Join Date
    Aug 2003
    Posts
    14

    Re: Timeout - HTTP Session

    Originally posted by sdpeixoto
    Hi,

    I thing i had the same kind of problem. I resolved it in truncating my process. It makes a little more work, but it works fine.

    I try to explain (language independent).

    If in your first page you doing something : while not isFinish
    ...

    wend


    Regards,

  4. #4
    Join Date
    Aug 2003
    Posts
    14

    Re: Timeout - HTTP Session

    Originally posted by WolFox

    Oups !!

    Well : While not isfinished
    ...
    ...
    Wend


    Try to do this
    the "t1" page

    truncatedTime = XXX
    ellapsedTime = "start time"
    While (not isfinished) and (ellapsedTime < truncatedTime )
    ellapsedTime = "new time"
    ...
    ...
    Wend


    So the t2 page has a flag to know if the treatment has finished with ellapsedTime or isfinished. T1 can't stop with timeOut.


Posting Permissions

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