> Has anyone ever run into problems when using the urlSessionFormat()
> function inside the url attribute of the cflocation tag? When I use
> the following code with cookies disabled on the browser I get two (J2EE
> sessions are enabled in cf administrator) jsessionid's in the URL and
> the whole application gets screwed up...
>
> <cflocation url="" />
>
> Even when I set the addtoken attribute to "no" with cookies disabled
> the application does not function properly.

I would recommend omitting the URLSessionFormat and setting ADDTOKEN="YES".
I seem to recall that J2EE session tokens are always added with CFLOCATION
regardless of the value you specify with ADDTOKEN.

If you'd rather control this directly, you can use the CFHEADER tag to set
the Location header exactly the way you want it.

Dave Watts, CTO, Fig Leaf Software
http://www.figleaf.com/
phone: 202-797-5496
fax: 202-797-5444
[Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings]

Reply via email to