Patches item #613295, was opened at 2002-09-23 17:00
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=403613&aid=613295&group_id=31885
Category: None
Group: None
Status: Open
Resolution: None
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
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=403613&aid=613295&group_id=31885
|