No one's actually told him what a cookie is, or how t ouse them...To set 'cookies' in PHP: http://www.w3schools.com/php/php_cookies.asp-----As boen_robot said, that prompt box with the username + password fields have to be set up on the server, read the link he sent.To determine if someone's logged in on your website, after they supply there username and password (in what ever method) and your PHP script has recieved these values, if through whatever security checks you impose, they are successful - you could set a cookie to store a piece of data, so that you can later check for this data as a means of checking if they are logged in.Sounds kinda confusing put like that ..you'll need to know PHP and possibilly MySQL if you are thinking of using a database to store their user data?http://www.w3schools.com/phphttp://www.w3schools.com/php/php_mysql_intro.asp