CF Session IDs?

2001-04-27 Thread Lon Lentz


   I have an issue with a template that is called through a cfhttp. The
problem is, when it errors and we cf_catch it, the session variables are not
available to be emailed to me.

   Does the CF server maintain an ID system for the sessions it is
supporting? If so, is it possible to pull that id out within the session?
And then, is it possible to use that id outside of that session to refer to
that session and its variables?


Lon Lentz
Applications Developer  CyberEntomologist - Alvion Technologies
DataWarehousing and List Sales - Market Your Lists on the Net!
[EMAIL PROTECTED]
941-574-8600 Ext. 210


~~
Structure your ColdFusion code with Fusebox. Get the official book at 
http://www.fusionauthority.com/bkinfo.cfm

Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists



Re: CF Session IDs?

2001-04-27 Thread Robert Rusher

Lon,
Yes, the server automatically produces the CFID and
CFToken variables for each user. You do need to code
your application.cfm accordingly to take advantage of
them.

But, if you want to come back and access these
variables at a later date, you would be better off
setting client variables and store them in a backend
database.

HTH
Regards,
Rusher

--- Lon Lentz [EMAIL PROTECTED] wrote:
 
I have an issue with a template that is called
 through a cfhttp. The
 problem is, when it errors and we cf_catch it, the
 session variables are not
 available to be emailed to me.
 
Does the CF server maintain an ID system for the
 sessions it is
 supporting? If so, is it possible to pull that id
 out within the session?
 And then, is it possible to use that id outside of
 that session to refer to
 that session and its variables?
 
 
 Lon Lentz
 Applications Developer  CyberEntomologist - Alvion
 Technologies
 DataWarehousing and List Sales - Market Your Lists
 on the Net!
 [EMAIL PROTECTED]
 941-574-8600 Ext. 210
 
 

~~
Structure your ColdFusion code with Fusebox. Get the official book at 
http://www.fusionauthority.com/bkinfo.cfm

Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists



RE: CF Session IDs?

2001-04-27 Thread Lon Lentz


  We are currently using CFID and CFToken for session management purposes.
What I would like to be able to do is to access session variables outside of
that session. We have worked a way around this whch requires serializing and
then deserializing our 2 main session variables. This requires more overhead
and time than I would like to spend. So I am trying to find a shortcut. And
I thought if CF uses an internal id system for sessions, we might be able to
reference them that way.



Lon Lentz
Applications Developer  CyberEntomologist - Alvion Technologies
DataWarehousing and List Sales - Market Your Lists on the Net!
[EMAIL PROTECTED]
941-574-8600 Ext. 210

-Original Message-
From: Robert Rusher [mailto:[EMAIL PROTECTED]]
Sent: Friday, April 27, 2001 12:03 PM
To: CF-Talk
Subject: Re: CF Session IDs?


Lon,
Yes, the server automatically produces the CFID and
CFToken variables for each user. You do need to code
your application.cfm accordingly to take advantage of
them.

But, if you want to come back and access these
variables at a later date, you would be better off
setting client variables and store them in a backend
database.

HTH
Regards,
Rusher


~~
Structure your ColdFusion code with Fusebox. Get the official book at 
http://www.fusionauthority.com/bkinfo.cfm

Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists



RE: CF Session IDs?

2001-04-27 Thread Jeffry Houser


   :hmm:

   Why don't you just copy the information into the Application scope, 
perhaps as a structure based upon the CFID / CFTOKEN combo?

   Or you could dump the session info into a database.  I was under the 
impression that CF tracks them internally using CFID / CFTOKEN combo, but 
don't hold me to that.

At 01:31 PM 04/27/2001 -0400, you wrote:

   We are currently using CFID and CFToken for session management purposes.
What I would like to be able to do is to access session variables outside of
that session. We have worked a way around this whch requires serializing and
then deserializing our 2 main session variables. This requires more overhead
and time than I would like to spend. So I am trying to find a shortcut. And
I thought if CF uses an internal id system for sessions, we might be able to
reference them that way.



Lon Lentz
Applications Developer  CyberEntomologist - Alvion Technologies
DataWarehousing and List Sales - Market Your Lists on the Net!
[EMAIL PROTECTED]
941-574-8600 Ext. 210

-Original Message-
From: Robert Rusher [mailto:[EMAIL PROTECTED]]
Sent: Friday, April 27, 2001 12:03 PM
To: CF-Talk
Subject: Re: CF Session IDs?


Lon,
Yes, the server automatically produces the CFID and
CFToken variables for each user. You do need to code
your application.cfm accordingly to take advantage of
them.

But, if you want to come back and access these
variables at a later date, you would be better off
setting client variables and store them in a backend
database.

HTH
Regards,
Rusher



~~
Structure your ColdFusion code with Fusebox. Get the official book at 
http://www.fusionauthority.com/bkinfo.cfm

Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists