Thanks for all of your reply. :) Just like what trlists said, I'd like to create an auto-login at least with a maximum of 30 days. Users will have the option to choose whether to logout and/or prompt for their password for the next 1 hour, 4 hours, etc. just like what Yahoo! is doing. What is the difference between what Richard Lynch has suggested (using sessions) and the one suggested by Andy (using table links)? -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php