try this...

Vasanthakumar D replied to Charvi Sanghavi at 03-Jul-08 12:45

Hi,

you can change the session value when user change the roles like below one... for this you need to have two sessions,

1. One for old role

2. one for new role

suppose use select the new role from dropdown and click the button, thenin button click event set the below thing...

Session["Old_Role"] = Session["New_Role"].ToString();

Session["New_Role"] = dropdownRole.Text;

 

while login you can store the default role value in the above two session.


Click here to sign in and reply. You could earn money via our $500 contest just for being helpful.
  Tracking changes to a session variable. - Charvi Sanghavi  02-Jul-08 09:46 9:46:50 PM
      solution Tracking changes to a session variable. - Umapathy Kaliaperumal  02-Jul-08 10:07 10:07:43 PM
      Try this one - Sujit Patil  03-Jul-08 12:17 12:17:23 AM
      try this... - Vasanthakumar D  03-Jul-08 12:45 12:45:06 AM
      Re: Tracking changes to a session variable. - Ashutosh Dhok  04-Jul-08 09:09 9:09:09 AM
View Posts