Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > ASP .Net > ASP General > how to prevent session from timing out when using XMLHTTP object

Thread Tools

how to prevent session from timing out when using XMLHTTP object

Glenn Venzke
Posts: n/a
I have an asp classic app running on W2000/IIS 5. To cut down on page
reloads, I am using client-side javascript to retreive web content using the
"XMLHTTP" active x control. I then populate divs with the html that gets
returned. The pages that contain the desired web content reside in the same
application as the "caller". The problem is that all the http requests made
using this control are not happening under the same user session as the
"parent" page. This presents 2 problems:

(1) all session variables available to the parent are not accessable in the
pages that XMLHTTP is requesting.

(2) since no web activity done in this fashion refreshes the session used by
the calling page, that session times out. Is there any way to have both these
processes occur within the context of a single session? If not, is there any
way in ASP to access all current user sessions in the application &
programatically refresh any one of them? I'm trying to find a solution that
doesn't involve replacing session variables with cookies or creating a whole
new custom session management system.
Reply With Quote

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
Re: How include a large array? Edward A. Falk C Programming 1 04-04-2013 08:07 PM
Msxml*.XMLHTTP vs. Microsoft.XMLHTTP yawnmoth Javascript 11 11-09-2006 08:44 PM
ASP.NET SQL Server Session not timing out =?Utf-8?B?VGVqYXN3aQ==?= ASP .Net 1 02-12-2005 12:53 AM
Session not timing out with EnableSessionState set to false user_me ASP .Net 1 12-15-2004 05:56 PM
How long do Session variables last before timing out? Mark ASP .Net 1 07-08-2003 03:18 PM