0
Session variables
New Here
,
/t5/coldfusion-discussions/session-variables/td-p/261630
Mar 26, 2009
Mar 26, 2009
Copy link to clipboard
Copied
I'm not sure if this a general question or one for advance
techniques, but here goes.
What are some of the schemes or combination that developers use to assign unique values to session variables. For example, when a user goes to a certain page on my site, I want to assign each user (session) a unique ID.
thnx
What are some of the schemes or combination that developers use to assign unique values to session variables. For example, when a user goes to a certain page on my site, I want to assign each user (session) a unique ID.
thnx

Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting.
Learn more
LEGEND
,
LATEST
/t5/coldfusion-discussions/session-variables/m-p/261631#M23247
Mar 26, 2009
Mar 26, 2009
Copy link to clipboard
Copied
Not sure *why* you want to assign each user session a unique
id, they
already have one session.cfid & session.cftoken combine to be a unique
combination (with in some limits)for every session generated by
ColdFusion OR session.jsessionid depending on how the server is configured.
But if you really want a simple, and unique id, CreateUUID() is a hand
little function.
already have one session.cfid & session.cftoken combine to be a unique
combination (with in some limits)for every session generated by
ColdFusion OR session.jsessionid depending on how the server is configured.
But if you really want a simple, and unique id, CreateUUID() is a hand
little function.
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting.
Learn more

