It appears that IE has a bugs when handling cookies.

Here is my senario.  I have a server that can be accessed from
domain.com or www.domain.com.

I am using Sessions in Cake set to php (as opposed to db or cake)

If an IE user logs in to or browses to domain.com a cookie will get set
for domain.com

If the same user later comes to www.domain.com and attempts to login.
The server recieves the domain.com cookie, then regenerates the sessson
and sets a cooresponding cookie for the www.domain.com.

The problem is IE stores the www cookie but passes back the domain.com
cookie on the following requests.  This old cookie is of course no
longer valid.

The user logs in "sucessfully", then is immediately told they need to
log in again.

As a workaround i'm going to absolute link to my login action and force
logins to always be on domain.com

Is there anyway to set cake to always set domain cookies instead of
host (www) cookies?

I saw https://trac.cakephp.org/ticket/830  this might need to be upped
in priority given IE's bad cookie handling behavior.

Any thoughts?


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Cake 
PHP" 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/cake-php
-~----------~----~----~----~------~----~------~--~---

Reply via email to