Date: 01/04/01
- Next message: Max A. Derkachev: "Re[2]: [phplib] php4.0.4 and phplib template problems."
- Previous message: Sanjay Arora: "[phplib] Getting previous session id..."
- In reply to: Marko Kaening: "[phplib] session/session4.inc versus phplib4*"
- Next in thread: Bertrand Mansion: "Re: [phplib] Re: session/session4.inc versus phplib4*"
- Reply: Bertrand Mansion: "Re: [phplib] Re: session/session4.inc versus phplib4*"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Hello Marko,
Thanks to your bug report.
Note that session4.inc is not mine, the author is Teodor Cimpoesu. My
extension that works with CT_* classes to store session data is
session4_custom.inc in the php/session directory.
The module is now fixed in cvs. There would be updates soon, so look
for the latest version at http://phplib.netuse.de/cgi/cvsweb.cgi/php-lib/php/session/session4_custom.inc
I've also commited user4.inc with new User class that should work with session4* classes.
Check it out if you are interested.
Check out the fixed session4_custom.inc from cvs or apply the following patch:
*** session4_custom.inc.orig Thu Jan 4 16:08:38 2001
--- session4_custom.inc Thu Jan 4 15:33:06 2001
***************
*** 11,15 ****
* Copyright (c) 2000 Teodor Cimpoesu <teo <email protected>>
*
! * $Id: session4_custom.inc,v 1.1 2000/12/05 11:00:26 max Exp $
*
*/
--- 11,15 ----
* Copyright (c) 2000 Teodor Cimpoesu <teo <email protected>>
*
! * $Id: session4_custom.inc,v 1.2 2001/01/04 15:33:05 max Exp $
*
*/
***************
*** 121,124 ****
--- 121,125 ----
$url=ereg_replace("[&?]+$", "", $url);
+ if (strstr($url, $this->name)) return $url;
if (!$HTTP_COOKIE_VARS[$this->name]) {
***************
*** 136,140 ****
function self_url() {
global $SCRIPT_NAME, $QUERY_STRING;
-
Thursday, January 04, 2001, 4:43:11 PM, you wrote:
MK> Hi,
MK> Now I gave the session4.inc from the CVS tree a try written by M.A.
MK> Derkachev. And it seems to work also without problems.
MK> BUT, there was one strange thing. $sess->self_url() returns the session id
MK> in the url TWO times. Under certain circumstances I get even repetitions
MK> up to 5!!! What's going on????
-- Best regards, Max A. Derkachev mailto:kot <email protected> Symbol-Plus Publishing Ltd. phone: +7 (812) 324-53-53 http://www.Books.Ru -- All Books of Russia--------------------------------------------------------------------- To unsubscribe, e-mail: phplib-unsubscribe <email protected> For additional commands, e-mail: phplib-help <email protected>
- Next message: Max A. Derkachev: "Re[2]: [phplib] php4.0.4 and phplib template problems."
- Previous message: Sanjay Arora: "[phplib] Getting previous session id..."
- In reply to: Marko Kaening: "[phplib] session/session4.inc versus phplib4*"
- Next in thread: Bertrand Mansion: "Re: [phplib] Re: session/session4.inc versus phplib4*"
- Reply: Bertrand Mansion: "Re: [phplib] Re: session/session4.inc versus phplib4*"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]

