On 10 August 2004 13:19, Ron Stiemer wrote: > Hi there, > > Try to add the session_id(); into the redirection: > > header("Location: ../admin/include/B.php?PHPSESSID=" . session_id() );
No, no, no! Use the SID constant -- that's what it's for. It only has a value if you need one, so: header("Location: ../admin/include/B.php?".SID); will redirect to include ../admin/include/B.php?PHPSESSID=whatever or ../admin/include/B.php? as appropriate to the particular circumstances of the current invocation of the script. Cheers! Mike --------------------------------------------------------------------- Mike Ford, Electronic Information Services Adviser, Learning Support Services, Learning & Information Services, JG125, James Graham Building, Leeds Metropolitan University, Headingley Campus, LEEDS, LS6 3QS, United Kingdom Email: [EMAIL PROTECTED] Tel: +44 113 283 2600 extn 4730 Fax: +44 113 283 3211 -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php