If it's works under development and not on production, this seems a
configuration problem to me .. Did you check if the directory where
sessions are stored is present en writable on production server (if
you store in file of course)? Are the settings for cake (and version,
Security level etc ..) identical ?

On Dec 13, 9:13 pm, dw <[EMAIL PROTECTED]> wrote:
> My login function sets a session variable which contains user data. It
> then redirects to an index page. Using Firecake, i see that the
> session data is there:
>
>  5fbout['Sessions'] = {"Config":
> {"userAgent":"25fed2e5facba72bdb68484b4b19538b","time":
> 1197579960,"rand":2113374583},"User":{"id":
> 33,"username":"test","password":"098f6bcd4621d373cade4e832627b4f6","email":"","admin":"","created":"2007-12-08
> 13:12:25"}};
>
> But, as soon as i try to access another page, i get kicked back to the
> login screen, and the session data is not there. The really odd thing
> is that this is working fine on my WAMP development setup, but not on
> my production machine. Obviously, the function checking the user's
> credentials and setting the session variable is correct. Somehow this
> is being lost.
>
> I wanted to migrate to the Auth component, but i was having troubles
> with that. So, i upgraded to 1.2 first and then was going to tackle
> the Auth stuff. Now i am thinking that the issue i was having with
> Auth is the same as this issue.
>
> Any thoughts? I am at a loss as to what is happening here...
--~--~---------~--~----~------------~-------~--~----~
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