On Jan 13, 2008 6:24 PM, lordG <[EMAIL PROTECTED]> wrote:
>
> Hi guys,
>
> I'm experiencing a problem with the redirects when I destroy the
> session, set a flash message and then redirect.
>
> When it gets to the redirect page, the flash no longer exists and the
> session is clean of any custom session data they may have been set
> after the destroy call.
>
> Does the redirect do anything with regards to the Sessions if they
> have been just been destroy'd and renew'd?
>
> I noticed the session_write_close call, but that just locks the
> session and shouldn't affect the session data.
>
> Very weird.
> G

First thing to check when sessions go haywire is your security level
in config/copre.php.  Make sure it's set to low, as on high it
regenerates the session on every refresh (or so I remember being
told).

Hope that helps.

-- 
Chris Hartjes
Internet Loudmouth
Motto for 2008: "Moving from herding elephants to handling snakes..."
@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