Tracking changes to Session Variables.

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

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 Session Variables. - Charvi Sanghavi  02-Jul-08 9:48:41 PM
      See this - Sujit Patil  03-Jul-08 12:14:16 AM
      try this - Vasanthakumar D  03-Jul-08 12:41:27 AM
      Update Session variable also - Arvind Kumar  03-Jul-08 12:45:50 AM
      reply - alice johnson  03-Jul-08 12:58:03 AM
      You can do this - santhosh kumar  03-Jul-08 1:04:52 AM
View Posts