I have two ASP.NET web applications on the same server and domain, e.g. myServer/app1
and myServer/app2
.
app1
reads Session.SessionID
and then redirects to app2
. Will app2
read the same Session.SessionID
value? Both applicat开发者_如何学编程ions run under the same application pool and use InProc session state.
Background: This works (same SessionID) on our server but fails to work on our customer's server (different SessionID). I'm trying to find out
- if we made wrong assumptions and it works just by accident on our server (why?) or
- the customer's server is misconfigured somehow.
Therefore, I'd like to know what's supposed to happen.
精彩评论