On 2/2/01, Eron Cohen penned:
>Does anyone think there should be any problems keeping
>client variables alive going between virtual hosts? (I
>am having one :-) )  I do seem to be maintaining the
>client tokens even when the problem is occuring. I
>pass the CFID/CFTOKEN around in the URLs like so:

Looking at the code you included, there could be a couple problems.

1. A cookie set at www.mysite.com will not be recognized at 
xyz.mysite.com. Rather than just have all the pages load under 
different URLs, the easiest thing to do is redirect all to the same 
www or xyz sub domain.

<cfif cgi.http_host contains "xyz.">
<cflocation URL="http://www.mydomain.com" addtoken="no">

2. You have the sessiontimeout set to 3 days. If you're on a shared 
server, I doubt whether the maximum in CF Administrator is set much 
higher than a couple hours.
-- 

Bud Schneehagen - Tropical Web Creations

_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/
ColdFusion Solutions / eCommerce Development
[EMAIL PROTECTED]
http://www.twcreations.com/
954.721.3452

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

Archives: http://www.mail-archive.com/[email protected]/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists

Reply via email to