Date: 06/11/01
- Next message: Ignatius Teo: "[phplib] Auth/DefaultAuth"
- Previous message: Claudia Isensee: "[phplib] {phplib] Login problems"
- In reply to: Claudia Isensee: "[phplib] {phplib] Login problems"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
This has come up before. The workaround is to change the INSERT to a REPLACE
in the session class.
Ignatius
----- Original Message -----
From: "Claudia Isensee" <claudia.isensee <email protected>>
To: <phplib <email protected>>
Sent: Tuesday, June 12, 2001 5:47 AM
Subject: [phplib] {phplib] Login problems
> Hi!
>
> We are having a small, but anoying login problem here. I am using
phplib7.2 and php4 to design an application. Everything works well, except:
> When starting a protected page the first time, the login screen appears
correctly. When I try to reload it, the system does not supply a new session
id, but uses the old one, with or without cookies. As a result an error
message is printed out:
>
> Database error: Invalid SQL: insert into active_sessions ( sid, name, val,
changed ) values ('3d88eccf6846c036ae1ff240b2c5a5f8', 'B2B_Session',
> 'Q...','20010611213807')
> MySQL Error: 1062 (Duplicate entry
'B2B_Session-3d88eccf6846c036ae1ff240b2c5a5f8' for key 1)
> Session halted.
>
> (this also happens, on other occasions, but this one is replicable)
>
> I know this should not be, since in former applications it did not happen,
and a new session-key was supplied every time. These were using an older
phplib(6?) and php3, though.
> I am not the only one working on the project, so I don't know, if I messed
it up.
> Can anyone help me with finding the problem?
>
> Claudia Isensee
>
____________________________________________________________________________
__
> Ferienklick.de - Jede Menge Urlaub auf einen Blick!
> Hier geht's zu Ihrem Traumstrand: http://ferienklick.de/?PP=2-0-100-105-1
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: phplib-unsubscribe <email protected>
> For additional commands, e-mail: phplib-help <email protected>
>
---------------------------------------------------------------------
To unsubscribe, e-mail: phplib-unsubscribe <email protected>
For additional commands, e-mail: phplib-help <email protected>
- Next message: Ignatius Teo: "[phplib] Auth/DefaultAuth"
- Previous message: Claudia Isensee: "[phplib] {phplib] Login problems"
- In reply to: Claudia Isensee: "[phplib] {phplib] Login problems"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]

