Philip Hallstrom ha scritto:
Don't use Header("Location:..."). Instead spit back very minimal
document.location.href = '.....';
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?
Don't know. All I know is that whenever I've tried to use the Location
header while setting a cookie, it never seems to take.
PHP Database Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php