Description: I need a Java Script that I can paste into html code that requires a user first enter their e-mail address before accessing the requested page(s). 1. The code probably needs 2 parts, one for the Guest Login page and the second code that can be pasted to each page I desire, to check for a cookie with the data for the login. 2. The code should check to see if a user has visited the site recently, lets say within a 7 day period, by using a cookie or something. If the cookie exists and is out of date or the cookie does not exist, the page will refer the browser back to a login screen. If the cookie does exist and is within the date range, then the user is allowed to view the page(s). 3. The Guest Login page/code should verify if the e-mail address structure is correct. It should also have a submit button that can be used to send an e-mail to an address I determine. I am currently using the FormMail 1.92 CGI script. Summary: 2 Java scripts, one for the Guest Login Page, one that I can paste into multiple HTML pages that will check for a previous login and redirect them to the Guest Login if not within a date range or not there. This does not need to be in a database or have logins pre-setup, it is basically to have an e-mail sent back to the host each time a visitor logs into the site.
1) Complete and fully-functional working program(s) in executable form as well as complete source code of all work done. 2) Complete ownership and distribution copyrights to all work purchased. 3) Brief descriptions in the code so that I can make changes such as page referrals, etc.
Needs to be able to run from within HTML that I am developing and on most IE and NS versions.