hey, I was just wondering if theres anywrong with session tokens to track log-ins. (members_area.pl?user=test&session=AsdDx35D234m1d)
When a user log-ins, I generate a 16 character session token that is stored inside a MySQL db.
The session token will expire after 60 minutes of inactivity. I'm also going to make a feature where it also logs the IP with the session token, therefore it prevents someone from a different computer trying to use a session token thats currently active.
Is there anything wrong with this method? Is it used quite often ? Am I forgetting about any other security risks involved?