php-db | 2001051
Date: 05/11/01
- Next message: Ashley M. Kirchner: "Re: [PHP-DB] Cookie effect"
- Previous message: Peter Wilson: "[PHP-DB] mssql connect problem from php4 on linux"
- Next in thread: Ashley M. Kirchner: "Re: [PHP-DB] Cookie effect"
- Reply: Ashley M. Kirchner: "Re: [PHP-DB] Cookie effect"
- Reply: Jesse Scott: "Re: [PHP-DB] Cookie effect"
- Reply: Geoff Caplan: "Re: [PHP-DB] Cookie effect"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
I have a login script that sets a cookie on your hard drive...the only
problem is, the cookie only comes into effect after I've clicked thru to
another page from login.php...any ideas on this? My (abridged) code is
currently:
<?php
header("Set-Cookie: LoggedIn=1; path=/;");
header("Set-Cookie: GHSUserName=$username; path=/;");
header("Set-Cookie: GHSUserID=$user_id; path=/;");
?>
If anyone could help me on this one, that would be great!
Thanks,
David Balatero
db <email protected>
-- PHP Database Mailing List (http://www.php.net/) To unsubscribe, e-mail: php-db-unsubscribe <email protected> For additional commands, e-mail: php-db-help <email protected> To contact the list administrators, e-mail: php-list-admin <email protected>
- Next message: Ashley M. Kirchner: "Re: [PHP-DB] Cookie effect"
- Previous message: Peter Wilson: "[PHP-DB] mssql connect problem from php4 on linux"
- Next in thread: Ashley M. Kirchner: "Re: [PHP-DB] Cookie effect"
- Reply: Ashley M. Kirchner: "Re: [PHP-DB] Cookie effect"
- Reply: Jesse Scott: "Re: [PHP-DB] Cookie effect"
- Reply: Geoff Caplan: "Re: [PHP-DB] Cookie effect"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]

