Posted by Toby A Inkster on 08/14/07 20:27
anndr0id wrote:
> <script language="javascript">
> window.location = "../index.php";
> </script>
I think this is the key. Check out http://www.php.net/setcookie -- in
particular the fourth parameter "path".
Also, why use a Javascript redirect when you can use an HTTP Location
header?
--
Toby A Inkster BSc (Hons) ARCS
[Geek of HTML/SQL/Perl/PHP/Python/Apache/Linux]
[OS: Linux 2.6.12-12mdksmp, up 55 days, 5 min.]
Fake Steve is Dead; Long Live Fake Bob!
http://tobyinkster.co.uk/blog/2007/08/13/fake-bob/
[Back to original message]
|