Try using setdomaincookie=yes only instead of both. I seem to remember
something like this going from 8 to 9.

Any redirects after the login? Like going from httpto https? Or from
domain.com to secure.domain.com?

Byron Mann
Lead Engineer & Architect
HostMySite.com
On Feb 20, 2014 6:04 PM, "Les Mizzell" <[email protected]> wrote:

>
> Got a site currently running on CF8 that we're migrating to a completely
> new server with a fresh CF10 install. There's an informal "members only"
> section with user/pass login that we're having trouble with. No code
> changes - no problems on the CF8 server.
>
> But, in various browsers, it seems the "logged-in" session var isn't
> holding and the second you log in, it just kicks you back out.
> CF8 version - all browsers stay logged in with no problems.
> CF10 version - Chrome kicks you right back out. IE works great (??)
>
> So ... pretty simple stuff. If the username/pass matches:
>
> <cfif qVerify.RecordCount>
>      <!--- This user has logged in correctly, change the value of the
> session.allowin value --->
>      <cfset session.allowin = "True" />
>      <cfset session.user_id = qVerify.uniqID />
> </cfif>
>
> ... and there you go..
>
> Application file settings:
>
> <cfapplication name="MyMemberSection"
>    clientmanagement="yes"
>    sessionmanagement="yes"
>    setclientcookies="yes"
>    setdomaincookies="yes"
>    sessiontimeout="#CreateTimeSpan(0,8,00,0)#"
>    applicationtimeout="#CreateTimeSpan(0,8,00,0)#"
>    clientstorage="cookie" >
>
>
> So the question is - what's different between CF8 and CF10 that I need
> to be looking for? I'm not even sure where to start looking at the
> moment. Ideas? Tearing my hair out so far.
>
> 

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Order the Adobe Coldfusion Anthology now!
http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:357721
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm

Reply via email to