Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Using CFID as a unique session cookie

0 views
Skip to first unread message

Brian Guild

unread,
Feb 11, 2002, 1:22:26 PM2/11/02
to
ColdFusion Professionals:

I wish to depend on the CFID variable for identification of a unique user
session. What this means to me is that every user will get a different CFID.
This must include those users who access through America Online and other proxy
server type environments.

Ideally, I would want the CFID value to represent a different value for each
visitor to my web site. I would then tell my Webtrends system to use Cookies to
identify a visitor session for more accurate visitor session numbers.

If anyone has any insight, could you please share it?

Thank you,

Brian

Michael Knight

unread,
Feb 11, 2002, 9:13:23 PM2/11/02
to
In recommendations, do not use the CFID as the unique session identifier.
Instead, use a UUID. The reason behind this is that the server in the
background may restart the services. There may be any number of reasons
this would occur. When this happens, the CFID is started and set
differently than it was prior to the restart. Using the CFID for session
control and a restart occurring, will cause the user to either need to login
again or loose any tracking.

Michael Knight
www.cjmgroup.com
(former CF Tech, Macr.)

"Brian Guild" <Brian_...@newsguy.com> wrote in message
news:a4925...@drn.newsguy.com...

Jim Davis

unread,
Feb 11, 2002, 11:05:32 PM2/11/02
to
To use UUID as your CFToken check out this article on CFComent.com:

http://www.cfcomet.com/cfcomet/Other/index.cfm?ArticleID=C331E31B-6C87-4ED1-
91188C58FC1CE05D

Jim Davis

--
President, Depressed Press of Boston: http://www.DepressedPress.com/
Webmaster, Virtually Boston: http://www.vboston.com/
Webmaster, First Night Boston: http://www.firstnight.org/
Senior Consultant, Metlife eCommerce IT: http://www.metlife.com/

"Michael Knight" <mkn...@cjmgroup.com> wrote in message
news:7T_98.37930$Pz4.227515@rwcrnsc53...

0 new messages