Re: Help: header function
| From: | Tech Support | Date: | Fri, 26 Jul 2002 15:20:50 +0000 |
| Subject: | Re: Help: header function | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-109750@lists.php.net to get a copy of this message | ||
Try just header("Location: $PHP_SELF"); or header("Location: $SCRIPT_NAME")
...leave out http:// ...and your quotes are in the wrong place too.
Jim Grill
Support
Web-1 Hosting
http://www.web-1hosting.net
----- Original Message -----
From: "k a m e s h" <kameshn@csa.iisc.ernet.in>
To: <php-general@lists.php.net>
Sent: Friday, July 26, 2002 2:56 AM
Subject: [PHP] Help: header function
> Hi:
>
> After validating the login, i am using the header function to call the
same
> page again. The page uses session_start(). But the session variable,
> namely the login id is not changed. When i refresh the page manually
> session variable is changed. What is the problem? the header function i
> use is header(location:"http://PHP_SELF")
>
> regards
> kamesh
>
> _____________
> s kameshwaran
> eEL, Dept of CSA, IISc, Bangalore - 560012
> Homepage:
> http://www2.csa.iisc.ernet.in/~kameshn
> Phone: +91-80-3942368-111 (Lab), +91-80-3942624 (Hostel: U-95)
> ____________________________________
> Eternity abides in the present.. NOW
>
>
>
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
>
>
>