RE: [phplib] Sessions error - urgent help required please! From: Mikey (frak <email protected>)
Date: 09/12/00

But this table is the session table - I set it up according to the docs and
until now have had no problems with it.

It should be the PK as the session ID is supposed to be unique.

I have managed to work out what is going wrong (i.e it has picked up a
duplicate session ID that it is trying to create again), but I have no idea
as to why it should do this - and only with certain machines.

-----Original Message-----
From: andRie Is... [mailto:andrie <email protected>]
Sent: Tuesday, September 12, 2000 08:04
To: Mikey
Subject: Re: [phplib] Sessions error - urgent help required please!

----- Original Message -----
From: Mikey <frak <email protected>>

> Database error: Invalid SQL: insert into site_sessions ( sid, name, val,
> changed ) values ('df5f9cfe1186902cd397f5ce156d8da9', 'SITESESSION',
== dele==
> MySQL Error: 1062 (Duplicate entry
> 'SITESESSION-df5f9cfe1186902cd397f5ce156d8da9' for key 1)
> Session halted.
>
>From this error I can guess that you tried to insert into table
site_sessions with value('SITESESSION') that already exist in table.
If u think that value is ok for this table then u must check structure of
the table and find out if field 'name' status (primary or not) in this case
should not set as PK.

---------------------------------------------------------------------
To unsubscribe, e-mail: phplib-unsubscribe <email protected>
For additional commands, e-mail: phplib-help <email protected>