I have been having a similar (if not the exact) issue with 1.2.
Sessions worked well in my dev setup (wamp on my laptop), but not in
production.

Setting the Session.checkAgent to False in config/core.php seems to
have corrected the issue for me.



On Dec 18, 12:18 pm, hausburger <[EMAIL PROTECTED]> wrote:
> > 1) With Debug set at level 3 do you see the app inserting multiple
> >sessionrecords in your database?
>
> not at the same time.
>
> > 2) Are you using any AJAX calls?
>
> not in my testcase.
>
> > 3) Are you making any requestAction calls?
>
> no.
>
> > 4) Have you tried turning 'Session.checkAgent' to false? (Does the
> > issue persist if you do?)
>
> it doesn't matter.
>
> ....
>
> there are 2sessionrows in the DB.
> at the pages without the expectetsessiondata exist 2session
> cookies.
> when i delete the "wrong" cookie everything works fine.
>
> the question is: when/where was the cookie created?
>
>
>
> > On Dec 18, 10:51 am, stefuNz <[EMAIL PROTECTED]> wrote:
>
> > > ok ... using lowercase functions read() and write() doesn't work,
> > > too ... :/
>
> > > On 18 Dez., 12:29, hausburger <[EMAIL PROTECTED]> wrote:
>
> > > > hi everyone. just for your information:
> > > > - i tried database and cake assessionstorage (same problem)
> > > > - Configure::write('Security.level', 'medium');
>
> > > > the problem seems to be the cookie:
>
> > > > ----------------------------------------------------------------------------------
> > > > Name    CAKEPHP
> > > > Value   dc5d17d748ce14a4a7fe6bcfebe5911c
> > > > Host    my.domain.com
> > > > Path    /
> > > > Secure  No
> > > > Expires Tue, 25 Dec 2007 11:11:12 GMT
> > > > ----------------------------------------------------------------------------------
> > > > Name    CAKEPHP
> > > > Value   b4bc42c1fe39d0b2b2a68dc431580ed7
> > > > Host    my.domain.com
> > > > Path    /members/
> > > > Secure  No
> > > > Expires Fri, 17 Dec 2032 15:42:20 GMT
> > > > ----------------------------------------------------------------------------------
>
> > > > 2sessioncookies are stored.
>
> > > > At the my.domain/members/ (this is the controller i set
> > > > user_login_data tosession) the session_data is not accessable - but i
> > > > any other place like:
> > > > my.domain/ or my.domain/photos/ everything looks fine.
>
> > > > ...
> > > > any idea?
>
> > > > On 18 Dez., 12:13, stefuNz <[EMAIL PROTECTED]> wrote:
>
> > > > > hi everyone,
>
> > > > > thanks for all the replies!
> > > > > but nothing helped :(
> > > > > i'm using 1.2.0.5875 pre-beta
> > > > > and now i'm posting my core.phpsessionsettings, maybe i have
> > > > > something wrong here !?
> > > > > (when it's set to database, sometimes the database table is filled by
> > > > > somesessionstuff i guess .. but there are several records)
>
> > > > > Configure::write('Session.save', 'database');
> > > > > Configure::write('Session.table', 'cake_sessions'); // exists
> > > > > Configure::write('Session.database', 'default'); // set to default, so
> > > > > it automatically picks my database.php default database right?!
> > > > > Configure::write('Session.cookie', 'CAKEPHP');
> > > > > Configure::write('Session.timeout', '3600');
> > > > > Configure::write('Session.start', true);
> > > > > Configure::write('Session.checkAgent', true);
>
> > > > > On 18 Dez., 11:45, Dave J <[EMAIL PROTECTED]> wrote:
>
> > > > > > hi stefan,
>
> > > > > > just a quick question cos I have just ran into this problem about an
> > > > > > hour ago.
>
> > > > > > are you using the latest nightly  or the 5875 release?  Cos i'm 
> > > > > > having
> > > > > > problems with thesessionnot storing anything in the latest
> > > > > > nightly... and going back to the pre-beta release fixed it.
>
> > > > > > I'm still looking into it- Hide quoted text -
>
> > > - Show quoted text -

--~--~---------~--~----~------------~-------~--~----~
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?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to