Hi All
I want to set a cookie on every page if the user logs in via html form it will take that cookie value and insert it into a DB (mysql)
This is to track the user from the cookie
ie. SELECT * FORM table WHERE hash_id = '$HTTP_COOKIE_VARS' and user = '$user';
Now here the tricky part if the user logs out it deletes the cookie and the entry in the DB
"""this also happens if the browser is closed"""
is there a way to do this if so can someone help
TIA
Richie TM