call other asp page within the same session.
-
hello, I want to call an ASP page and retrieve the response. This can be done with HttpWebRequest, but this request seems to be launched as a different session ? I want to avoid posting a form or working with the querystring, so everything is stored in the session. anyone has an idea what I should do? gr, Niko
<< Nearly all men can stand adversity, but if you want to test a man's character, give him power. >>
-
hello, I want to call an ASP page and retrieve the response. This can be done with HttpWebRequest, but this request seems to be launched as a different session ? I want to avoid posting a form or working with the querystring, so everything is stored in the session. anyone has an idea what I should do? gr, Niko
<< Nearly all men can stand adversity, but if you want to test a man's character, give him power. >>
I think you need to pickup the cookie and other Request Headers and emit the same along with your WebRequest.
Vasudevan Deepak Kumar Personal Homepage
Tech Gossips
A pessimist sees only the dark side of the clouds, and mopes; a philosopher sees both sides, and shrugs; an optimist doesn't see the clouds at all - he's walking on them. --Leonard Louis Levinson -
I think you need to pickup the cookie and other Request Headers and emit the same along with your WebRequest.
Vasudevan Deepak Kumar Personal Homepage
Tech Gossips
A pessimist sees only the dark side of the clouds, and mopes; a philosopher sees both sides, and shrugs; an optimist doesn't see the clouds at all - he's walking on them. --Leonard Louis LevinsonVasudevan Deepak K wrote:
I think you need to pickup the cookie and other Request Headers and emit the same along with your WebRequest.
Can ASP.NET cookies/Request Headers sharable with ASP or other ASP.NET application? If so, where is the security then?
[Venkatesh Mookkan] My: Website | Yahoo Group | Blog Spot
-
Vasudevan Deepak K wrote:
I think you need to pickup the cookie and other Request Headers and emit the same along with your WebRequest.
Can ASP.NET cookies/Request Headers sharable with ASP or other ASP.NET application? If so, where is the security then?
[Venkatesh Mookkan] My: Website | Yahoo Group | Blog Spot
Check this discussion thread: http://www.velocityreviews.com/forums/t68503-sharing-asp-session-variables-with-aspnet-using-httpwebrequest.html[^]
Vasudevan Deepak Kumar Personal Homepage
Tech Gossips
A pessimist sees only the dark side of the clouds, and mopes; a philosopher sees both sides, and shrugs; an optimist doesn't see the clouds at all - he's walking on them. --Leonard Louis Levinson -
I think you need to pickup the cookie and other Request Headers and emit the same along with your WebRequest.
Vasudevan Deepak Kumar Personal Homepage
Tech Gossips
A pessimist sees only the dark side of the clouds, and mopes; a philosopher sees both sides, and shrugs; an optimist doesn't see the clouds at all - he's walking on them. --Leonard Louis Levinsonhello, Thanks for your answer. found some other http://forums.asp.net/p/945319/1145830.aspx[^] only cookie ASP.NET_SessionId needs to be replaced. for the moment, can't get this to work correctly...
<< Nearly all men can stand adversity, but if you want to test a man's character, give him power. >>