OK, I looked at the HTTP headers sent to the server in each of two cases: when redirecting from ASP and from ASP.Net. I noticed that in case of ASP.Net cookie, ASP.Net_SessionID is sent. This has not been sent from the ASP page. I read and found out that you can configure ASP.Net to use cookieless - http://msdn.microsoft.com/en-us/library/aa479314.aspx . I added
sessionState cookieless = "true"
in my web.config, and all is well. Your help is greatly appreciated.
yuben source
share