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" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
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
>
>
>



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

Reply via email to