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
Absolute Newb needs help.... Redirecting a page in PHP
Moderator: General Moderators
Code: Select all
header('Location: http://were.you/want/them');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'