Multiple session cookies are placed

Bug #965186 reported by Harm van Tilborg
10
This bug affects 2 people
Affects Status Importance Assigned to Milestone
chive
New
Undecided
Unassigned

Bug Description

I cannot reproduce this on a constant matter. But I do know what is going wrong.

Once every while, when I try to inline edit a cell, this is the text that appears, instead of a textfield:

{"redirectUrl":"\/site\/login","reload":null,"refresh":null,"notifications":null,"data":null,"js":[]}

What probably means that my session isn't valid anymore.

Now when I open Chrome's developer tools' resource tab, I find there are two cookies for my Chive subdomain, both called chiveSession. They do have a different value. The rest of the values (name, domain, expires, size, HTTP, and secure) are all the same, EXCEPT for the path. There is one cookie for '/', and one for '/schema'. I believe these deferring paths generate this bug...

Revision history for this message
Eps (epsi) wrote :
Download full text (3.8 KiB)

Same problem here. On localhost and online.
Chive worked previously but now it's broken. Same online, at first it's fine.

In browse section, if i click on edit : JSON return (like Harm van Tilborg).
If i click on delete (row) : i'm back to the login :/

No error or anything. I've checked firebug and Apache log.

I've enabled the debug system.

Here the application.log after delete :

2012/09/06 18:04:29 [trace] [system.CModule] Loading "log" application component
2012/09/06 18:04:29 [trace] [system.CModule] Loading "request" application component
2012/09/06 18:04:29 [trace] [system.CModule] Loading "session" application component
2012/09/06 18:04:29 [trace] [system.CModule] Loading "user" application component
2012/09/06 18:04:29 [trace] [system.CModule] Loading "securityManager" application component
2012/09/06 18:04:29 [trace] [system.CModule] Loading "statePersister" application component
2012/09/06 18:04:29 [trace] [system.CModule] Loading "cache" application component
2012/09/06 18:04:29 [trace] [system.caching.CFileCache] Serving "Yii.CStatePersister./home/eps/dev/chive/protected/runtime/state.bin" from cache
2012/09/06 18:04:29 [trace] [system.CModule] Loading "urlManager" application component
2012/09/06 18:04:29 [trace] [system.caching.CFileCache] Serving "Yii.CUrlManager.rules" from cache
2012/09/06 18:04:29 [trace] [system.CModule] Loading "log" application component
2012/09/06 18:04:29 [trace] [system.CModule] Loading "request" application component
2012/09/06 18:04:29 [trace] [system.CModule] Loading "session" application component
2012/09/06 18:04:29 [trace] [system.CModule] Loading "user" application component
2012/09/06 18:04:29 [trace] [system.CModule] Loading "db" application component
2012/09/06 18:04:29 [trace] [system.db.CDbConnection] Opening DB connection
2012/09/06 18:04:29 [trace] [system.CModule] Loading "messages" application component
2012/09/06 18:04:29 [trace] [system.CModule] Loading "assetManager" application component
2012/09/06 18:04:29 [trace] [system.CModule] Loading "cache" application component
2012/09/06 18:04:29 [trace] [system.caching.CFileCache] Serving "Yii.CXmlMessageSource.en.collation" from cache
2012/09/06 18:04:29 [trace] [system.caching.CFileCache] Saving "Yii.CXmlMessageSource.en.collation" to cache
2012/09/06 18:04:29 [trace] [system.caching.CFileCache] Serving "Yii.CXmlMessageSource.en.core" from cache
2012/09/06 18:04:29 [trace] [system.caching.CFileCache] Saving "Yii.CXmlMessageSource.en.core" to cache
2012/09/06 18:04:29 [trace] [system.caching.CFileCache] Serving "Yii.CXmlMessageSource.en.dataTypes" from cache
2012/09/06 18:04:29 [trace] [system.caching.CFileCache] Saving "Yii.CXmlMessageSource.en.dataTypes" to cache
2012/09/06 18:04:29 [trace] [system.caching.CFileCache] Serving "Yii.CXmlMessageSource.en.language" from cache
2012/09/06 18:04:29 [trace] [system.caching.CFileCache] Saving "Yii.CXmlMessageSource.en.language" to cache
2012/09/06 18:04:29 [trace] [system.CModule] Loading "urlManager" application component
2012/09/06 18:04:29 [trace] [system.caching.CFileCache] Serving "Yii.CUrlManager.rules" from cache
2012/09/06 18:04:29 [trace] [system.web.filters.CFilterChain] Running fi...

Read more...

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.