Re: Session IP address matching

From: Date: Sat, 25 Jan 2014 01:20:27 +0000
Subject: Re: Session IP address matching
References: 1  Groups: php.internals 
Request: Send a blank email to [email protected] to get a copy of this message
Hi!

> Yes, one can write a custom session handler, but there's a number of
> problems with that:

Wouldn't using SessionHandler and overriding just, say, read() and
adding the IP check there solve this issue? You don't have to bother
with implementing the whole handler, it stays the same but you can check
the IP after the session is loaded (or before if you wish, depending on
what you check does).

-- 
Stanislav Malyshev, Software Architect
SugarCRM: http://www.sugarcrm.com/
(408)454-6900 ext. 227


Thread (29 messages)

« previous php.internals (#71540) next »