Has anyone else observed this behavior?
We've been developing in 5.1 locally, and I went to move the files to
our production host (HostMySite). I restored the database, uploaded
the files, and navigated to the webtop. Every time I tried to log in,
I'd get redirected either to the login form or the home page (without
the admin tray). I eventually noticed that I didn't have CFID or
CFTOKEN cookies. After some experiments, I manually added the
following lines to the main Application.cfc:
<cfset this.sessionManagement = true>
<cfset this.sessionTimeout = createTimeSpan(0,2,0,0)>
<cfset this.setClientCookies = true>
<cfset this.setDomainCookies = true>
Now everything works. Is this down to session-management defaults on
the CF administrator?
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"farcry-dev" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/farcry-dev?hl=en
-~----------~----~----~----~------~----~------~--~---