Skip to main content
cledzigns
Participating Frequently
March 26, 2009
Question

Session variables

  • March 26, 2009
  • 1 reply
  • 298 views
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
    This topic has been closed for replies.

    1 reply

    Inspiring
    March 26, 2009
    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.