Thanks for the responses. I have tried both using php and cake to set
session data, and both are failing.
The tmp/sessions directory is writable, and in fact, there is session
data there. I've checked everything in the app/config directory and
nothing is different from development to production (except
database.php of course). I even went ahead and replaced the cake
directory with my development cake directory to make sure nothing was
different and still the session data disappears.

I am just about out of ideas. Strange.

-d

On Dec 13, 2:27 pm, zonium <[EMAIL PROTECTED]> wrote:
> One thing you can check:
> The location where session is saved. If 2 pages are from 2 different
> applications and if they share session the paths (locations) need to
> be identical
>
> Good luck,
> Zonium
>
> On Dec 13, 1:35 pm, francky06l <[EMAIL PROTECTED]> wrote:
>
> > 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