MySQL Forums
Forum List  »  PHP

Re: Query help/question.
Posted by: James Zapico
Date: February 23, 2006 02:32AM

If I understand the situation correctly, some changes on both ends should fix this. Change the sessions.id column to be unique so each user may only have one session. The query which inserts the session.id should be changed from INSERT to REPLACE. The rest of the syntax should be identical.

Options: ReplyQuote


Subject
Written By
Posted
February 22, 2006 10:00PM
Re: Query help/question.
February 23, 2006 02:32AM
February 23, 2006 02:17PM
February 27, 2006 09:57PM


Sorry, you can't reply to this topic. It has been closed.

Content reproduced on this site is the property of the respective copyright holders. It is not reviewed in advance by Oracle and does not necessarily represent the opinion of Oracle or any other party.