Changing Session Variables

Any tips and tricks that has to with the ADDT that doesn't fit into one of the other categories
csi64
Posts: 1
Joined: 2011-08-24 05:57

Changing Session Variables

Post by csi64 » 2011-08-24 06:03

I'm having difficulty getting changes to session variables to stick in a website built with ADDT. Upon login, several pieces of information from the database users table are set as session variables. I have a page that allows users to make changes to their user profile, and I want to be able to change the sessions variables to reflect the update after the changes are saved in the database. I can give the session variables new values and display them on one page, but when I go back to another page, the session variables still show the values that were set at login.

Any idea what I need to do to make my session variable changes "stick" without having my users log out and log back in?

User avatar
Fred
Site Admin
Posts: 491
Joined: 2010-02-15 12:10
Location: Armagh, Northern Ireland
Contact:

Re: Changing Session Variables

Post by Fred » 2011-08-25 21:58

As far as I know you cant change the values for the session variables that was defined in the control panel.

Just looking at the tng files it looks like they are encrypting the data for security.
Might be wrong...

If you find a solution please post back on the forum.

Post Reply