K
Kenny
Hi ,
I have created two Web Application - WebApplication1 and WebApplication2 in
same machine for testing purpose.
e.g
http://localhost/WebApplication1.aspx
http://localhost/WebApplication2.aspx
I have this setup for both WebApplication's Web.Config
<sessionState mode="SQLServer" stateConnectionString="tcpip=127.0.0.1:42424"
sqlConnectionString="data source=127.0.0.1; integrated security=true"
cookieless="true" timeout="20" />
ASP.NET State Service - Started
First, I created a Session Variable during the PageLoad e.g.
Session("Testing") = "This is for testing purpose"
Once I click a a button which
Response.Redirect("http://localhost/WebApplication2.aspx")
In WebApplication2, I am not able to retrieve the value of the Session e.g.
Response.Write(Session("Testing")). Why?
in SQL Server, since I am using the InstallPersistSqlState.sql so that I can
have the Session value store in the table for testing purpose. I found out
that the first Session created when PageLoad in WebApplication1, once I
click the button and redirect to WebApplication2, another new session
created.
Please help ....
Thanks,
Kenny
I have created two Web Application - WebApplication1 and WebApplication2 in
same machine for testing purpose.
e.g
http://localhost/WebApplication1.aspx
http://localhost/WebApplication2.aspx
I have this setup for both WebApplication's Web.Config
<sessionState mode="SQLServer" stateConnectionString="tcpip=127.0.0.1:42424"
sqlConnectionString="data source=127.0.0.1; integrated security=true"
cookieless="true" timeout="20" />
ASP.NET State Service - Started
First, I created a Session Variable during the PageLoad e.g.
Session("Testing") = "This is for testing purpose"
Once I click a a button which
Response.Redirect("http://localhost/WebApplication2.aspx")
In WebApplication2, I am not able to retrieve the value of the Session e.g.
Response.Write(Session("Testing")). Why?
in SQL Server, since I am using the InstallPersistSqlState.sql so that I can
have the Session value store in the table for testing purpose. I found out
that the first Session created when PageLoad in WebApplication1, once I
click the button and redirect to WebApplication2, another new session
created.
Please help ....
Thanks,
Kenny