On Jun 25, 2007, at 8:19 PM, inVINCable wrote:

>
> Well, I fixed the original problem, but now after setting my logout
> function, the redirect will not work. I remember there is some way to
> fix this but I cannot seem to remember. The logout function looks like
> this.
>
> function logout() {
>       $this->Session->delete('User');
>       $this->redirect('localhost');

Should this be:

$this->redirect('/');

?

And when you say "will not work," what does that mean?

-- John

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