usban
09-17-2002, 11:37 PM
I am building an aplication for a lot of users. Every user will have a password and a login. I also use session in order that if the user is not registered he can't visit any page. The problem is that i can visit the page simultaneously with different computers using the same login and pass.
I've thought of using a table in which i store the on-line users in order to check it before leting a use enter the page, but the problem is that if the user close the browser without closing the session he will not be able to enter again because his id will appear on this table.
I've thought of using cookies but i don't know how because i don't know anything about them.
Thank you.:confused:
I've thought of using a table in which i store the on-line users in order to check it before leting a use enter the page, but the problem is that if the user close the browser without closing the session he will not be able to enter again because his id will appear on this table.
I've thought of using cookies but i don't know how because i don't know anything about them.
Thank you.:confused: