Tracking changes to a session variable.

Charvi Sanghavi posted at 02-Jul-08 09:46

Hi,

I have different roles for different users in my website.

These roles are maintained in a master (roles) table in the Database.

I am using Session variables to persist a user's role.

Now what I want is that when the user changes his role from the UI, the session variable

contends should also change i.e. if the user was initially logged in with a role as say "Normal User"

and changes his role to "Super User" then the contend of my session variable should also change accordingly and be persisted across my application.

How do I achieve this using Sessions and also how do I track this change to the Session Variable?

Thanks in advance,

Charvi.

 

 


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