Jyrgen,

I still don't understand why you feel the need to override Cake's
internal session handling in favour of your own.

It's simple, ok. If you want to read the existing session just use
$this->Session->read('User.username'); or $session-
>read('User.username'); in the view. Obviously this would need
customising to exactly what you call your fields, but you should be
able to work with that to get the information you're looking for.

Stephen Orr

On May 15, 8:46 pm, "Chris Hartjes" <[EMAIL PROTECTED]> wrote:
> On 5/15/07, jyrgen <[EMAIL PROTECTED]> wrote:
>
>
>
> > thats it. no magic with " | " signs, or custom deserialization.
>
> The magic is the way PHP stores sessions itself.  Honest.  Again, go
> read up on custom session handlers because it does explain how PHP
> stores the session data if you go with the defaults.
>
> --
> Chris Hartjes
>
> My motto for 2007:  "Just build it, damnit!"
>
> @TheBallpark -http://www.littlehart.net/attheballpark
> @TheKeyboard -http://www.littlehart.net/atthekeyboard


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

Reply via email to