Yeah, but if I try to base it on anything like access date and time it 
blows my idea out of the water:

something like

<cfset cAN = "Tracker" & DateFormat(Now(), "YYDDMM") & TimeFormat(Now(), 
"HHMMSS")>
<cfapplication name="#cAN#" ...>

then how do I keep track of what cAN was when I created the application 
for that browser insance?

Hatton

Raymond Camden wrote:

> Sure...
> 
> <cfset x = "foo">
> <cfapplication name="#x#" .....>
> 
> =======================================================================
> Raymond Camden, ColdFusion Jedi Master for Macromedia
> 
> Email    : [EMAIL PROTECTED]
> Yahoo IM : morpheus
> 
> "My ally is the Force, and a powerful ally it is." - Yoda 
> 
> 
>>-----Original Message-----
>>From: Hatton Humphrey [mailto:[EMAIL PROTECTED]] 
>>Sent: Thursday, June 06, 2002 9:26 AM
>>To: CF-Talk
>>Subject: Dynamically Naming Applications
>>
>>
>>Is there a way to dynamically create an application name?  By this I 
>>mean if you have a user that is accessing a site from two different 
>>browser windows is there a way to separate their sessions?
>>
>>I have a few applicaitons that have various variables set 
>>depending on 
>>the user level of the person logged in.  What sometimes 
>>happens is that 
>>someone will log in as one user level in one window and a 
>>different one 
>>in another.  In some rare instances this doesn't cause a problem, 
>>however when they log out from one window (and the 
>>applicaiton deletes 
>>the session as it's supposed to), the other window suddenly starts 
>>blowing up all over the place.
>>
>>My thought was if I could dynamically generate an application 
>>name for 
>>the CFApplication tag.  Can this be done?
>>
>>
> 
> 
______________________________________________________________________
Your ad could be here. Monies from ads go to support these lists and provide more 
resources for the community. http://www.fusionauthority.com/ads.cfm
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists

Reply via email to