View Single Post
Old 12-28-2012, 02:00 PM   PM User | #7
Redcoder
Regular Coder

 
Redcoder's Avatar
 
Join Date: May 2012
Location: /dev/couch
Posts: 309
Thanks: 2
Thanked 46 Times in 45 Posts
Redcoder has a little shameless behaviour in the past
For the log-out script, you only need to clear sessions and cookies...that is if you use sessions or cookies to validate a user.

You can then add stuff like time-stamp for the time he logs out so that that will be the last time the user was logged in.

You cannot just copy paste different scripts into a system and expect them to work. Learn the fundamentals behind them and you can make your own systems independently and it will be easy for you to debug them.
__________________
For professional Hosting and Web design.....


NetEssentials.co.uk
Redcoder is offline   Reply With Quote