C'Mon Claude, store a 4 character value to the db, and hit the db for 
that value every time a session starts? Just use the cookie. If there's 
a lot of info, then sure, but don't add unnecessary overhead if you 
don't have to.

Steve 'Cutter' Blades
Adobe Community Professional
Adobe Certified Expert
Advanced Macromedia ColdFusion MX 7 Developer
____________
http://cutterscrossing.com


Co-Author "Learning Ext JS 3.2" Packt Publishing 2010
https://www.packtpub.com/learning-ext-js-3-2-for-building-dynamic-desktop-style-user-interfaces/book

"The best way to predict the future is to help create it"


On 9/18/2011 5:44 PM, =?ISO-8859-1?Q?Claude_Schn=E9egans wrote:
>   >>  I will need the values
> to be available for multiple browsers. I mean, the user might want to open a
> new browser using 'CTRL + N',
>
> This is actually not a new "browser", but a new window in the same browser.
> Session variables are available in any window of the same browser.
>
> There is no need to save variables in a cookie, session is already maintained 
> through an id in a cookie.
> If you need to use the same variables across sessions, you will need to save 
> them in the database, set a cookie with some user id. With this id, you can 
> retreive the variables from the database.
>
> 

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Order the Adobe Coldfusion Anthology now!
http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:347513
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm

Reply via email to