473,326 Members | 2,134 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,326 software developers and data experts.

Server Times Out with ASPSESSIONID Cookie

I am using the XMLHTTP object to request a page from within another ASP
page. For my scenario, the two pages should operate in the same
session. However, when I request the second page, a new session is
created. This makes sense since it is coming from a different client
(the XMLHTTP object as opposed to my browser).

I've tried to pass the ASPSESSIONID cookie along with the XMLHTTP post,
but every time I pass the valid cookie, the XMLHTTP request times out.

Has anyone experienced anything similar to this? Is what I am trying
to accomplish even possible?

Mike Biang
Cramer Development
mi********@gmail.com

Sep 18 '06 #1
3 3356

<mi********@gmail.comwrote in message
news:11*********************@e3g2000cwe.googlegrou ps.com...
I am using the XMLHTTP object to request a page from within another ASP
page. For my scenario, the two pages should operate in the same
session. However, when I request the second page, a new session is
created. This makes sense since it is coming from a different client
(the XMLHTTP object as opposed to my browser).

I've tried to pass the ASPSESSIONID cookie along with the XMLHTTP post,
but every time I pass the valid cookie, the XMLHTTP request times out.

Has anyone experienced anything similar to this? Is what I am trying
to accomplish even possible?
Which object are you using exactly? If you are using MSXML XMLHTTP then
this should include the cookie ASPSESSION cookie in the request.

Is it simply timing out on you for another reason?

Mike Biang
Cramer Development
mi********@gmail.com

Sep 18 '06 #2
Yes, I am using MSXML2 ServerXMLHTTP. When I attempt to pass the valid
sessionID, I receive a server timout error. When the ASPSESSIONID
cookie is invalid (the session ID is not an actual session), I receive
a new session ID and everything functions normally. Could this be a
deadlock issue in IIS? Does IIS requre that scripts execute in serial
for a given session?

For example:
Script 1 begins execution
Srcipt 1 calls Script 2 in the same session
Script 2 blocks until script 1 finishes execution (does IIS process
scripts in this order)?
Script 1 is blocking until Script 2 finishes execution.

Could this be the problem?

Anthony Jones wrote:
<mi********@gmail.comwrote in message
news:11*********************@e3g2000cwe.googlegrou ps.com...
I am using the XMLHTTP object to request a page from within another ASP
page. For my scenario, the two pages should operate in the same
session. However, when I request the second page, a new session is
created. This makes sense since it is coming from a different client
(the XMLHTTP object as opposed to my browser).

I've tried to pass the ASPSESSIONID cookie along with the XMLHTTP post,
but every time I pass the valid cookie, the XMLHTTP request times out.

Has anyone experienced anything similar to this? Is what I am trying
to accomplish even possible?

Which object are you using exactly? If you are using MSXML XMLHTTP then
this should include the cookie ASPSESSION cookie in the request.

Is it simply timing out on you for another reason?

Mike Biang
Cramer Development
mi********@gmail.com
Sep 18 '06 #3

<mi********@gmail.comwrote in message
news:11*********************@h48g2000cwc.googlegro ups.com...
Yes, I am using MSXML2 ServerXMLHTTP. When I attempt to pass the valid
sessionID, I receive a server timout error. When the ASPSESSIONID
cookie is invalid (the session ID is not an actual session), I receive
a new session ID and everything functions normally. Could this be a
deadlock issue in IIS? Does IIS requre that scripts execute in serial
for a given session?

For example:
Script 1 begins execution
Srcipt 1 calls Script 2 in the same session
Script 2 blocks until script 1 finishes execution (does IIS process
scripts in this order)?
Script 1 is blocking until Script 2 finishes execution.

Could this be the problem?
Yes it most certainly. Sorry I hadn't read you original post properly.

ASP will only process one script for a session at a time. The session
object is single threaded and can therefore only be accessed by one tread at
time. If you don't use Session variables you can switch off the use of the
session object I suspect, although I haven't tried it myself, would allow
multiple ASP scripts to execute in this way since there are no sessions.

Anthony Jones wrote:
<mi********@gmail.comwrote in message
news:11*********************@e3g2000cwe.googlegrou ps.com...
I am using the XMLHTTP object to request a page from within another
ASP
page. For my scenario, the two pages should operate in the same
session. However, when I request the second page, a new session is
created. This makes sense since it is coming from a different client
(the XMLHTTP object as opposed to my browser).
>
I've tried to pass the ASPSESSIONID cookie along with the XMLHTTP
post,
but every time I pass the valid cookie, the XMLHTTP request times out.
>
Has anyone experienced anything similar to this? Is what I am trying
to accomplish even possible?
>
Which object are you using exactly? If you are using MSXML XMLHTTP then
this should include the cookie ASPSESSION cookie in the request.

Is it simply timing out on you for another reason?

Mike Biang
Cramer Development
mi********@gmail.com
>

Sep 18 '06 #4

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

4
by: dan glenn | last post by:
Say, I want to set a cookie and have it expire an hour after it's set. It's looking like this is only possible for browsers which are in the same time zone as my server?? In other words, if I...
17
by: neerolyte | last post by:
how would i go about setting a cookie in javascript that can be read in javascript on the next page load, but will NOT be passed to the server?
27
by: Joseph Shoe | last post by:
How do you change the ASPSessionID during a web session? I have an ASP application in SSL. The first screen is a login screen, which requests user id and password. An ASPSessionID is assigned...
2
by: Earl Teigrob | last post by:
I am trying to find storage mechanism that will store a variable until the browser window is closed. A query string variable would be my first choice for this but that is not easily done in my...
3
by: Wysiwyg | last post by:
After a server created cookie is processed on the client I want it removed, cleared, or expired in the javascript block but have been unable to do this. If I set a cookie value in the server code...
2
by: Marty | last post by:
Something strange is happening on my web site since my hosting provider upgraded to Server 2003 a few weeks ago. I use forms authentication in my asp.net application, with essentially the...
1
by: davvel | last post by:
It has been 6 days of re-writing the same code in different ways to try and avoid a getResponse Timeout which haunted me for much too long now. I am trying to do a very simple thing which is...
1
by: Joe | last post by:
Hi, We have a secured website and a user needs to create an account before they can log in. After they login a session cookie (ASPSESSIONIDQABTBBAB=MOPPDDHDOKBJCJFOINAHCJKD) is created to...
6
by: =?Utf-8?B?YzY3NjIyOA==?= | last post by:
Hi all, I am thinking about doing this since I got several cases that some of our internal users open more than one browser at the same time from our server. When one of the transactions was not...
0
by: ryjfgjl | last post by:
ExcelToDatabase: batch import excel into database automatically...
0
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
1
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
0
by: Vimpel783 | last post by:
Hello! Guys, I found this code on the Internet, but I need to modify it a little. It works well, the problem is this: Data is sent from only one cell, in this case B5, but it is necessary that data...
0
by: jfyes | last post by:
As a hardware engineer, after seeing that CEIWEI recently released a new tool for Modbus RTU Over TCP/UDP filtering and monitoring, I actively went to its official website to take a look. It turned...
0
by: ArrayDB | last post by:
The error message I've encountered is; ERROR:root:Error generating model response: exception: access violation writing 0x0000000000005140, which seems to be indicative of an access violation...
1
by: PapaRatzi | last post by:
Hello, I am teaching myself MS Access forms design and Visual Basic. I've created a table to capture a list of Top 30 singles and forms to capture new entries. The final step is a form (unbound)...
1
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
1
by: Defcon1945 | last post by:
I'm trying to learn Python using Pycharm but import shutil doesn't work

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.