Re: Session don't store after header("Location: ...")
| From: | Giacomo | Date: | Tue, 28 Mar 2006 00:04:52 +0000 |
| Subject: | Re: Session don't store after header("Location: ...") | ||
| References: | 1 2 | Groups: | php.db |
| Request: | Send a blank email to php-db+get-41614@lists.php.net to get a copy of this message | ||
Philip Hallstrom ha scritto:
Don't use Header("Location:..."). Instead spit back very minimal javascript that does something like: <script> document.location.href = '.....'; </script> That way the cookies that get sent back in the header will take affect.I have to use header("Location..."), cause I'm using Mojavi (http://www.mojavi.org/), an MVC framework. Can I set cookie before calling header("Location") command? Giacomo