Not this way, but if you are on CFMX, you could do this in your
application.cfm:

<cfif test IS "session">
<cfset clientScope = session>
<cfelse>
<cfset clientScope = client>
</cfif>

And in your code

<cfset clientScope.var = "whatever">
<cfoutput>#clientScope.var#</cfoutput>

NOT tested, but it should work. On CF5 it won't, because the client
scope is not a struct!

> -----Original Message-----
> From: Robert Everland III [mailto:[EMAIL PROTECTED]
> Sent: donderdag 25 maart 2004 15:43
> To: CF-Talk
> Subject: Do i have to use evaluate here
>
> I'm trying to make my application have the option of either
> using client variables or session variables. Once I do this
> <cfset test = "session"> <cfset "#test#.bob" = "test">
>
> how do I output it without an evaluate, can that even be done?
>
>
> Bob
>
>
[Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings]

Reply via email to