Y
yoshibebe
Hi, I have developed a project on my local machine. The session state
variables are working fine on my local machine. When I port it into a
another server called v-projects, and I try to run the project from
that other server, the session state variables are being set randomly.
For example, in the following code:
SetSelectionSessionState();
Response.Redirect(@"http://localhost/WebTemplateExample/MainPage.aspx?NavLink=SelectionStep2&Type=ReportGenerator",
true);
After I set the session state, I redirect to another site. The
variables are lost after this. However, the strange thing that is
happening is that sometimes it will keep the variables, but sometimes
it will not. I have no idea why this is happening on the other server,
when it is working fine on my local machine. Please help!
variables are working fine on my local machine. When I port it into a
another server called v-projects, and I try to run the project from
that other server, the session state variables are being set randomly.
For example, in the following code:
SetSelectionSessionState();
Response.Redirect(@"http://localhost/WebTemplateExample/MainPage.aspx?NavLink=SelectionStep2&Type=ReportGenerator",
true);
After I set the session state, I redirect to another site. The
variables are lost after this. However, the strange thing that is
happening is that sometimes it will keep the variables, but sometimes
it will not. I have no idea why this is happening on the other server,
when it is working fine on my local machine. Please help!