Exit
  • Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
  • 한국 커뮤니티
0

Session variables

New Here ,
Mar 26, 2009 Mar 26, 2009
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
260
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
LEGEND ,
Mar 26, 2009 Mar 26, 2009
LATEST
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.
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Resources