Re: HTTP_REFERER work without a problem....
| From: | Jason Wong | Date: | Thu, 16 Jan 2003 08:05:43 +0000 |
| Subject: | Re: HTTP_REFERER work without a problem.... | ||
| References: | 1 2 3 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-131828@lists.php.net to get a copy of this message | ||
On Thursday 16 January 2003 05:38, Scott Fletcher wrote:
> Or worse, not substituting the characters in the Session ID. Just use the
> same Session ID. What if there is leftover session file in the /tmp
> directory of the Unix machine and we're dealing with hundred of users each
> day. Some of those session files aren't deleted because the user just
> closed the browser without logging out. It is unfortunate that there is no
> better solution to this.
I've been sort of following this thread and as I understand it you're trying
to use HTTP_REFERER to ascertain whether a user has 'logged in'? IE if
HTTP_REFERER isn't the login page then they haven't 'logged in'?
If that is the case then you should know that this provides no security at
all.
Use a proper authentication system based on sessions.
--
Jason Wong -> Gremlins Associates -> www.gremlins.biz
Open Source Software Systems Integrators
* Web Design & Hosting * Internet & Intranet Applications Development *
/*
If Robert Di Niro assassinates Walter Slezak, will Jodie Foster marry Bonzo??
*/