Guest Posted December 9, 2005 Posted December 9, 2005 Where does osc define the values saved in sessions? If I wanted to add a value field from the customer db to what is stored, how would I do this? I've looked at every file I can think and while I can find the functions which perform it, I can't find where what values are included are defined. Help? TIA, Arasii
AlanR Posted December 9, 2005 Posted December 9, 2005 It's internal to php itself. Local: Mac OS X 10.5.8 - Apache 2.2/php 5.3.0/MySQL 5.4.10 • Web Servers: Linux Tools: BBEdit, Coda, Versions (Subversion), Sequel Pro (db management)
boxtel Posted December 9, 2005 Posted December 9, 2005 Where does osc define the values saved in sessions? If I wanted to add a value field from the customer db to what is stored, how would I do this? I've looked at every file I can think and while I can find the functions which perform it, I can't find where what values are included are defined. Help? TIA, Arasii basically with this: if (!tep_session_is_registered('currency')) { tep_session_register('currency'); } that means that the variable $currency is now registered and defined within the session. That session variable is basically a safe variable linked to the $currency variable as it is available as long as the session is active but it will change with you changing $currency ofcourse. Treasurer MFC
Guest Posted December 9, 2005 Posted December 9, 2005 basically with this: if (!tep_session_is_registered('currency')) { tep_session_register('currency'); } that means that the variable $currency is now registered and defined within the session. That session variable is basically a safe variable linked to the $currency variable as it is available as long as the session is active but it will change with you changing $currency ofcourse. Thanks, that's exactly what I needed to know. :-)
Recommended Posts
Archived
This topic is now archived and is closed to further replies.