Last post Feb 03, 2015 01:58 AM by Zhi Lv - MSFT
Feb 02, 2015 10:00 AM|Shaeem|LINK
I have 2 web applications in same solution. Application A and Application B.
User will log in into Application A and there is one link button available in Application A. When User clicks on that link Button , user will be redirected to Application B.
When user is redirected to Application B , it should Use the same session value present in Application A. Session Mode of Application A is InProc.
How Application B can access session values of Application A without any change in Application A code.
Also what are the other approach for the same.
Feb 02, 2015 10:09 AM|BrockAllen|LINK
You don't -- session is scoped to the appdomain/application in IIS.
Feb 02, 2015 10:39 PM|cnranasinghe|LINK
You can't accomplish this with SessionState mode in "InProc". Instead use SQL state server.
Feb 03, 2015 01:58 AM|Zhi Lv - MSFT|LINK
As for this issue, I don't think we are able to transfer data from one to another using the Session. But you can try to use URL parameters or cookies. Here are some relevant articles you could refer to them.
ASP.NET State Management Overview
Transfer Session Data from one website to another website