$this->Session->active() should fix your problem.
On Feb 25, 3:35 pm, Paolo <[EMAIL PROTECTED]> wrote: > Hi all! > I created a simple user authentication form, using session. The user > must insert name and password and then if these correspond to a know > combination the user is logged in. To check if a user is logged I used > cake session. Everything woeked fine until I tried to use php sesison > in another ection of the website. I found out that the hosting hasn't > session enabled by default, so i had to set session.auto_start 1 in > the htaccess file. But now my login form doesn't work anymore!! Do you > know the mwaning of this? > How can I solve? > > thanks --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Cake PHP" group. To post to this group, send email to cake-php@googlegroups.com 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 -~----------~----~----~----~------~----~------~--~---