Create a dynamic Web page that would greet visitors with a different message each time they come to this particular Web page. Alternate among at least three different welcome messages. (For example: Hello , Welcome, Hi.) The welcome message should appear in a pop-up window that is not a dialog box or alert box. Also display the number of visits in the same window.
Use cookies to keep track the number of visits/reloads so that you could show a different message along with that number to a particular person each time they come. In case someone does not return for at least three days, treat they as they just came for the first time.
Attach all source code in files with proper names and extensions (*.html, *.java, *.pl, *.php, .htaccess e.t.c.). Do not ZIP files together or include compiled files (e.g. *.class). In case of dynamic Web pages (JavaScript or CGI) or Java applets also send the complete URL (including http://) that points to a page on your Web site that demonstrates your homework. Send your homework via e- mail to the instructor at olekmali at cegt201.bradley.edu. Please set the message subject to: web-hw3.
Thank you.