Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > ASP .Net > Session End Synchronisation

Reply
Thread Tools

Session End Synchronisation

 
 
Glenn
Guest
Posts: n/a
 
      10-31-2003
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.
 
Reply With Quote
 
 
 
 
Nicole Calinoiu
Guest
Posts: n/a
 
      10-31-2003
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" <(E-Mail Removed)> wrote in message
news:0c4201c39f45$10a6ea00$(E-Mail Removed)...
> 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.



 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
simple programs to deal with data format, data synchronisation Ram VHDL 1 02-24-2005 05:34 PM
Design Question: Access Permissions and Client Synchronisation viaa DB Stephen Riehm Java 1 12-15-2004 09:25 PM
Synchronisation problem Olivier Merigon Java 1 07-29-2004 02:43 AM
synchronisation JULES Firefox 0 04-20-2004 07:39 AM
data synchronisation - java server side or www server side? Thor Java 1 07-02-2003 05:44 PM



Advertisments