Revision: 5793
Updated Code
at April 4, 2008 13:02 by jsegars
Updated Code
/* Save preference to user session */ $GLOBALS["TSFE"]->fe_user->setKey("ses","tx_cfcampus_api", $campusUID); $GLOBALS["TSFE"]->fe_user->sesData_change = true; $GLOBALS["TSFE"]->fe_user->storeSessionData(); /* Retrieve preference from user session */ $campusUID = $GLOBALS["TSFE"]->fe_user->getKey("ses","tx_cfcampus_api");
Revision: 5792
Initial Code
Initial URL
Initial Description
Initial Title
Initial Tags
Initial Language
at April 4, 2008 12:59 by jsegars
Initial Code
/* Save preference to user session */ $GLOBALS["TSFE"]->fe_user->setKey("ses","tx_cfcampus_api", $campusUID); $GLOBALS["TSFE"]->fe_user->sesData_change = true; $GLOBALS["TSFE"]->fe_user->storeSessionData();
Initial URL
Initial Description
This allows any data to be temporarily saved in a user session (for both anonymous visitors and frontend users). The data is temporary though and will be destroyed once the user's cookie has expired.
Initial Title
Working with Frontend Session Data
Initial Tags
Initial Language
PHP