Go Back   Velocity Reviews > Newsgroups > ASP Net
User Name
Password
Register FAQ Members List Calendar Search Today's Posts Mark Forums Read

Reply

ASP Net - AJAX UpdatePanel not resetting IIS Session

 
Thread Tools Search this Thread
Old 05-29-2007, 04:31 PM   #1
Default AJAX UpdatePanel not resetting IIS Session


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


=?Utf-8?B?TWlrZSBNY0FsbGlzdGVy?=
  Reply With Quote
Old 05-29-2007, 09:18 PM   #2
bruce barker
 
Posts: n/a
Default Re: AJAX UpdatePanel not resetting IIS Session
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.



bruce barker
  Reply With Quote
Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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

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

Similar Threads
Thread Thread Starter Forum Replies Last Post
Session Expired too soon lidya_usq Software 0 09-24-2008 02:46 AM
Render UpdatePanel within a CompositeControl tal78 Software 0 11-20-2007 09:23 AM
ajax with applet anub Software 0 09-14-2007 12:47 PM
Transfering ASP Session to ASPX Session kalim Software 0 07-12-2007 03:38 AM
claim your Live Internet training session today. Arnoud A+ Certification 0 05-28-2004 09:29 AM




SEO by vBSEO 3.3.2 ©2009, Crawlability, Inc.

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46