Thanks Andy, you rock!

I was looking through the comments on your solution
(http://noswad.me.uk/MiBlog/SessionsAndPlugins) and truster presents an
alternate solution. Truster suggests setting CakeSession->path='/' and
ini_set('session.cookie_path', '/') in beforeFilter(). Correct me if i'm
wrong but by then isn't the session already initialized? Shouldn't that be
done _before_ session starts?

Thanks again for your help.


On Tue, 07 Nov 2006
14:52:38 -0000 "AD7six" <[EMAIL PROTECTED]> wrote:

> 
> Hi Gonçalo,
> 
> Did you try this:
> http://groups.google.com/group/cake-php/search?group=cake-php&q=session+plugin
> 
> If there is always a new session for each plugin there is a solution on
> my site (see the results above), although I found that with an upgrade
> the 'problem' went away. If it is, as you said originally, only
> sometimes - can you quantify that, does the comment in the thread
> "plugin cookie path changes from 1.1.6 to 1.1.7" apply?
> 
> Cheers,
> 
> AD7six
>  Please note:
> The manual/bakery is a good place to start any quest for info.
> The cake search (at the time of writing) erroneously reports less/no
> results for the google group.
> The wiki may contain incorrect info - read at your own risk (it's
> mainly user submitted) :)
> You may get your answer quicker by asking on the IRC Channel (you can
> access it with just a browser here: http://irc.cakephp.org).
> 
> 
> > 
> 


-- 
Gonçalo Marrafa <[EMAIL PROTECTED]>

--~--~---------~--~----~------------~-------~--~----~
 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