sessions and headers,
| From: | Ken Nagorski | Date: | Tue, 05 Dec 2000 18:36:12 +0000 |
| Subject: | sessions and headers, | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-28737@lists.php.net to get a copy of this message | ||
Hi there.
I have some problems with theroy not code. This is what I am
running into, Orinally I had a user log in, at logon.html, that
information was passed to logon.php which if the authentication was
successful I simply redirected them to a welcome page using header().
However in order to prevent people from sneking in I build a uniqe session
ID and check for the presence of that in every page. This works great
except I have a new problem how do I redirect the user? I can't use header
anymore cause I am using start_sesion() and session_registar()
I am sure this problem has come up before, I hope. If someone has
some information on how to deal with this. Or a better way to aproach this
situation in general I am all ears.
Thank you
Kenn
--
I've got all the money I'll ever need if I die by 4 o'clock.
-- Henny Youngman