G
Guest
I have a website with 2 aspx pages
Foo.aspx, and bar.aspx
The content of both files
is
//in 1 file
Hello <%=Session["Name"].ToString()%>
================
Here's the problem, inside the Page_Load for
Foo.aspx, using the HttpWebRequest, I do a request
to bar.aspx, passing in the session cookie. A timeout occurs.
When I use a debugger and set a break point at bar.aspx's Page_Load,
the breakpoint is reached only after the HttpWebRequest throws a timeout
exception inside Foo.aspx's Page_Load. Setting the timeout to higher numbers
has no effect. Creating a webrequest to a page not on the same server as
mine does not generate an error. e.x.: downloading cnn.com's homepage from
within Foo.aspx will work. Does anyone know why this would happen. Please
post back if any clarification is needed.
I feel it may have something to do with the thread process used by iis
and/or aspnet.
It's sort of like the problem that's reported here ->
http://groups.google.com/[email protected]
I'm using winxp pro w/ .net 1.1 and vs.net 2003. Everything .net related
should be running in debug mode.
Foo.aspx, and bar.aspx
The content of both files
is
//in 1 file
Hello <%=Session["Name"].ToString()%>
================
Here's the problem, inside the Page_Load for
Foo.aspx, using the HttpWebRequest, I do a request
to bar.aspx, passing in the session cookie. A timeout occurs.
When I use a debugger and set a break point at bar.aspx's Page_Load,
the breakpoint is reached only after the HttpWebRequest throws a timeout
exception inside Foo.aspx's Page_Load. Setting the timeout to higher numbers
has no effect. Creating a webrequest to a page not on the same server as
mine does not generate an error. e.x.: downloading cnn.com's homepage from
within Foo.aspx will work. Does anyone know why this would happen. Please
post back if any clarification is needed.
I feel it may have something to do with the thread process used by iis
and/or aspnet.
It's sort of like the problem that's reported here ->
http://groups.google.com/[email protected]
I'm using winxp pro w/ .net 1.1 and vs.net 2003. Everything .net related
should be running in debug mode.