Server Fault is a question and answer site for system and network administrators. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

We have created two web applications, one nested inside another(Our main web app is the outer one, and we have a cms inside, or below it). We're trying to get session sharing between the applications(using state server option) as mentioned here:

Session is working for each one separately, however when we cross the boundary between them, we lose the session data.

Both web.config files have the same machine key entry, and I'm trying to set the application path as mentioned here: ** Can't display second link **

I'm not sure if I'm going down the right path or not. Ideally I'd like to do something like this in code:

On Main Website Side: Session["SomeVar"] = SomeData;

On the CMS side(nested inside): Display(Session["SomeVar"]); // this would display SomeData

We could also go in reverse, set the session variable cms side, display it Main Web Site side).

share|improve this question
second link from above:… – Chris L Sep 15 '10 at 19:00
You solved this problem? In a similar case, I solve with the guidelines of that link: You are not remove any authentication module in the sub application? – Julian corrêa May 20 '15 at 13:50

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Browse other questions tagged or ask your own question.