开发者

Will two web applications share the same session ID?

开发者 https://www.devze.com 2023-04-02 22:35 出处:网络
I have two ASP.NET web applications on the same server and domain, e.g. myServer/app1 and myServer/app2.

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.

0

精彩评论

暂无评论...
验证码 换一张
取 消