Click here to Skip to main content
15,907,231 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
See more:
Dear Friends,

I am using VS2008,asp.net,c# web application.
When users are logined simultaneously, the session values are changing among users.
that means , username of logined user is displaying in master page.
the issue is when one user is logined another user name is displaying in the master page
The code used in login page is mentioned below
username is displaying

C#
Session["PSFusrCode"] = DSUSERLEVEl.Tables[0].Rows[0]["usrCode"].ToString();



                   Session.Add("Module", Convert.ToString(Session["Module"]));


                   Session["PSFUserType"] = DSUSERLEVEl.Tables[0].Rows[0]["ulName"].ToString();
                   Session["PSFUName"] = DSUSERLEVEl.Tables[0].Rows[0]["usrName"].ToString();

                   Session["PSFOutlet"] = DSUSERLEVEl.Tables[0].Rows[0]["usrOutlet"].ToString();


thanks in advance
george
Posted

1 solution

Hi,

can you tell me that are you using output catching in aspx page? if you are using then remove that.
 
Share this answer
 
v2
Comments
george@84 26-Jun-14 13:07pm    
dear sarvesh kumar gupta,
I haven't used output caching in aspx page

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900