Welcome Guest, Not a member yet? Register   Sign In
Yet another problem with Session with DB
#4

[eluser]WanWizard[/eluser]
I don't see the point of doing that. What if the user starts two browsers on the same PC? What if the user opens multiple browser windows or tabs (=same session!)?

But if you insist, either extend the Session library to include the user_id to the session record, or construct a delete query with a where clause that selects all records with a specific character sequence in the user_data (make sure that you don't select the wrong records).


Messages In This Thread
Yet another problem with Session with DB - by El Forum - 04-19-2011, 10:30 AM
Yet another problem with Session with DB - by El Forum - 04-19-2011, 10:40 AM
Yet another problem with Session with DB - by El Forum - 04-19-2011, 10:53 AM
Yet another problem with Session with DB - by El Forum - 04-19-2011, 01:56 PM
Yet another problem with Session with DB - by El Forum - 04-20-2011, 02:12 PM
Yet another problem with Session with DB - by El Forum - 04-20-2011, 02:17 PM
Yet another problem with Session with DB - by El Forum - 04-20-2011, 02:24 PM
Yet another problem with Session with DB - by El Forum - 04-20-2011, 03:51 PM
Yet another problem with Session with DB - by El Forum - 04-20-2011, 07:10 PM
Yet another problem with Session with DB - by El Forum - 04-21-2011, 03:25 AM



Theme © iAndrew 2016 - Forum software by © MyBB