Session End Synchronisation

Discussion in 'ASP .Net' started by Glenn, Oct 31, 2003.

  1. Glenn

    Glenn Guest

    I am working on a phased migration of a large ASP app to
    ASP.NET using .NET Framework 1.1.

    There is a strict 15 minute no activity logout for this
    app, which obviously correlates to a session timeout.
    However, I am having trouble synchronising the timeout in
    ASP.NET and ASP. For instance, if a user is working for
    16 minutes within the ASP.NET portion of the site, then
    navigates to ASP functionality a timeout is triggered and
    the user is automatically logged out.

    I'm sure that I'm not the first to have encountered this,
    is there a common technique used to overcome this problem?

    Any assistance here would be greatly appreciated.

    Thanks,

    Glenn.
    Glenn, Oct 31, 2003
    #1
    1. Advertising

  2. Glenn,

    One fairly easy workaround would be to place a 1x1 px image or iframe in
    each page whose source is an aspx or asp from the other portion of the site.
    To avoid client-side caching, you might need to throw a random query string
    onto the end of the page url. e.g.:

    <img src="somepage.aspx?rnd=38598395" width=1 height=1 alt="" border=0>

    The pages don't need to have any content. They just need to be loaded from
    the server in order to reset the session timeout.

    HTH,
    Nicole


    "Glenn" <> wrote in message
    news:0c4201c39f45$10a6ea00$...
    > I am working on a phased migration of a large ASP app to
    > ASP.NET using .NET Framework 1.1.
    >
    > There is a strict 15 minute no activity logout for this
    > app, which obviously correlates to a session timeout.
    > However, I am having trouble synchronising the timeout in
    > ASP.NET and ASP. For instance, if a user is working for
    > 16 minutes within the ASP.NET portion of the site, then
    > navigates to ASP functionality a timeout is triggered and
    > the user is automatically logged out.
    >
    > I'm sure that I'm not the first to have encountered this,
    > is there a common technique used to overcome this problem?
    >
    > Any assistance here would be greatly appreciated.
    >
    > Thanks,
    >
    > Glenn.
    Nicole Calinoiu, Oct 31, 2003
    #2
    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. Ram
    Replies:
    1
    Views:
    575
    Mike Treseler
    Feb 24, 2005
  2. Thor
    Replies:
    1
    Views:
    1,011
    Mikkel Heisterberg
    Jul 2, 2003
  3. Olivier Merigon

    Synchronisation problem

    Olivier Merigon, Jul 28, 2004, in forum: Java
    Replies:
    1
    Views:
    399
    David Hilsee
    Jul 29, 2004
  4. Stephen Riehm
    Replies:
    1
    Views:
    341
    Stephen Riehm
    Dec 15, 2004
  5. Martin Doyle

    Cross-domain cookie synchronisation

    Martin Doyle, Apr 20, 2005, in forum: Java
    Replies:
    0
    Views:
    897
    Martin Doyle
    Apr 20, 2005
Loading...

Share This Page