Alexej Kubarev
New member
well... its quite hard to do that... why would you pu them in a DB at the first place?
y dont you simply keep them in Sessions and nothing more?
But if you want it so much --- put the expire date to the table... so when the next user visits you should call a function that will check all the expiration dates and remove the unused ones...
but as you understand, if u put a Session in a database it will only work for 1 user... so i wouldnt do it if i were you..
y dont you simply keep them in Sessions and nothing more?
But if you want it so much --- put the expire date to the table... so when the next user visits you should call a function that will check all the expiration dates and remove the unused ones...
but as you understand, if u put a Session in a database it will only work for 1 user... so i wouldnt do it if i were you..