Page 1 of 1

Absolute Newb needs help.... Redirecting a page in PHP

Posted: Sat Oct 12, 2002 11:58 am
by Rob_Beard
Hey all,


I'm a total newb to PHP, I'm waiting for my book to arrive. but i've been building a PHP Login script, and need to redirect to another page after login. I don't want to include it, i want to refresh so the next page URL appears...and if I do this, will I keep my session, or will it be lost?

Thanks

Rob

Posted: Sat Oct 12, 2002 12:28 pm
by volka

Code: Select all

header('Location: http://were.you/want/them');
http://www.zend.com/zend/tut/session.php
http://www.zend.com/zend/tut/feedback.php
viewtopic.php?t=1157
  • session will stay intact, if
  • you use cookies (enabled by default)
  • stay in the same 'realm'