A
Akshay Kumar
I am storing session state in sql server.
Everything works great on single server.
When I deployed it to web farm this is what happens :-
On Page1.aspx.cs I do this :-
Session["customerid"]= "IL0981"
Then later I do server.Transfer to Page2 and
inn Page2.aspx.cs (Page_Load)
There is a peice of code in page2 :-
if (session["customerid"]==null)
server.transfer(logon.aspx)
Now many times inspite of session variable being set in previous page , it
is tranferred to logon.aspx
Any ideas why this is happening.
Regards,
AK
Everything works great on single server.
When I deployed it to web farm this is what happens :-
On Page1.aspx.cs I do this :-
Session["customerid"]= "IL0981"
Then later I do server.Transfer to Page2 and
inn Page2.aspx.cs (Page_Load)
There is a peice of code in page2 :-
if (session["customerid"]==null)
server.transfer(logon.aspx)
Now many times inspite of session variable being set in previous page , it
is tranferred to logon.aspx
Any ideas why this is happening.
Regards,
AK