Re: [Phplib-users] store the IP in the session
Brought to you by:
nhruby,
richardarcher
From: Giancarlo <gia...@na...> - 2002-12-05 17:19:27
|
>>So I'd add a $sticky_mode session variable to prevent ar allow >>mode shifts. >> > > That's a question of configuration. If you don't want it to fallback to > get, then don't enable that. I think it should be defined clearer, > something like $mode = array("cookie", "get", "post") (vs. the current > $fallback_mode) because this would allow new modes to be added and a > preference list built ($mode = array("cert", "cookie")) where cert is an > extension of cookie that handles pki authentication. But you can already > prevent mode shifts. We are speaking about two different shifts then. I am speaking about shifts along the way, not initial fallback. Once a certain mode is started, the default or the fallback, LATER do not allow mode shifts. As if saying: "hey guy, I told you must have cookies, you HAD cookies, why now are you using anything else, if not because I let you do so? How is it than now you bear a low-grade photocopied ticket, while a moment agoI saw you had the original in your hand? From the series We are the cinema tenders, you know... and we've prevented false tickets at the entry, now we should prevent swapping tickets inside & reentering ...If it makes any sense. kindof pindaric may seem, but... G |