PC Review


Reply
Thread Tools Rating: Thread Rating: 1 votes, 1.00 average.

AJAX UpdatePanel not resetting IIS Session

 
 
=?Utf-8?B?TWlrZSBNY0FsbGlzdGVy?=
Guest
Posts: n/a
 
      29th May 2007
I have not been able to find anything about this problem, so it must be
configuration on our server, somehow...

What we are observing is on Windows Server 2003/IIS 6 our AJAX UpdatePanels
are not resetting the IIS Session timer. Thus, if the default IIS Session
Timeout of 20 minutes is used, our logged-in users are always receving
Session timeout in 20 minutes, regardless of what UpdatePanel activity is
happening on the .aspx page.

Has anyone seen this problem and does anyone have a solution for me?

Thanks very much, in advance.
--
Mike McAllister
 
Reply With Quote
 
 
 
 
bruce barker
Guest
Posts: n/a
 
      29th May 2007
the updatepanel uses XMLHTTPRequest to get the html to display in the
panel. XMLHTTPRequest will send the session cookie, but on response it
does not read and update the browser's session cookie, so after 20 mins
the session cookie times out (in the browser) and is no longer sent to
the server.

you can switch to cookieless sessions or update the browser cookie using
a server request via an img or iframe.

-- bruce (sqlwork.com)


Mike McAllister wrote:
> I have not been able to find anything about this problem, so it must be
> configuration on our server, somehow...
>
> What we are observing is on Windows Server 2003/IIS 6 our AJAX UpdatePanels
> are not resetting the IIS Session timer. Thus, if the default IIS Session
> Timeout of 20 minutes is used, our logged-in users are always receving
> Session timeout in 20 minutes, regardless of what UpdatePanel activity is
> happening on the .aspx page.
>
> Has anyone seen this problem and does anyone have a solution for me?
>
> Thanks very much, in advance.

 
Reply With Quote
Reply

Thread Tools
Rate This Thread
Rate This Thread:

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
AJAX UpdatePanel & HtmlGenericControl ('div') Horváth Szilárd Microsoft ASP .NET 4 30th Jan 2009 05:53 AM
Ajax UpdatePanel with Wizard =?Utf-8?B?TWlrZQ==?= Microsoft ASP .NET 0 1st Aug 2007 03:26 AM
Re: Ajax UpdatePanel problems Gibble Microsoft ASP .NET 0 23rd May 2007 09:11 PM
Re: Ajax UpdatePanel problems Gibble Microsoft ASP .NET 0 23rd May 2007 08:45 PM
Help with AJAX updatepanel? brett Microsoft ASP .NET 1 4th Feb 2007 03:26 AM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 06:03 AM.