Re: Session don't store after header("Location: ...")

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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

--
PHP Database Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


[Index of Archives]     [PHP Home]     [PHP Users]     [Postgresql Discussion]     [Kernel Newbies]     [Postgresql]     [Yosemite News]

  Powered by Linux