Patches item #613295, was opened at 2002-09-23 12:00
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=403613&aid=613295&group_id=31885
Category: None
Group: None
>Status: Deleted
>Resolution: Accepted
Priority: 5
Submitted By: Giancarlo Pinerolo (pingus)
Assigned to: Nobody/Anonymous (nobody)
Summary: same as [ 612139 ], + phplib API compat
Initial Comment:
This is the same as patch [ 612139 ] by Joe Stewart.
To it, are added the
register(),
is_registered()
unregister()
functions.
Also is implemented the new (php 4.2.2)
session.use_only_cookie, equivalent to phplib mode=cookie,
fallback_mode=cookie.
So by setting these two, thisi nterface to php4 session will
behave as expected, that is use ONLY cookies for propagation.
Notes:
the phplib API for register() and unregister(), didn't return any
value. Only is_registered() returns true/false.
And so I put the session4 back in line with phplib, as 'unset' and
$_SSESSION[var]=xxx do not return anything anyway in php
language.
These wrapper functions should permit to upgrade a phplib
based application to use PHP4 native sessions instead
(session4), and work unchanged on a setup either with
register_globals On or Off.
When this get enough tested, session4_custom.inc can be
updated too.
Gian
----------------------------------------------------------------------
Comment By: Joe Stewart (joestewart)
Date: 2002-10-01 11:43
Message:
Logged In: YES
user_id=77269
This patch has been applied to the CVS. Please update your
copy of PHPLIB CVS, or wait for the next release.
----------------------------------------------------------------------
Comment By: Giancarlo Pinerolo (pingus)
Date: 2002-09-23 14:05
Message:
Logged In: YES
user_id=163488
But now I found that these functions, even though the manual says they
shouldn't be used with register_:globals=Off, do work with them Off.
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=403613&aid=613295&group_id=31885
|