I need 3 html-pages for a cookie based member area.
Page 1:
If someone go one this site, the page set a cookie that expire in about 1 year (if it is easier to code, it can be a month more, or 400 days).
Page 2 (login page):
If someone go one this site, the page check if the user have a valid cookie on his computer. If not, the page redirect him to another site, where he get told, that he have to buy a membership. If the user have a valid cookie, the page redirect him to the member area (this means to a normal website).
Page 3 (Check Cookie handling)
This page check, if the browser accept cookies. If the browser accept cookie, redirect to a html-page. If not, redirect to another html-page.
I use [login to view URL] for the membership area, but this is not importent, because you don't have to programm this.
I am very interested on this task. I have over 4 years experience in PERL/CGI, PHP & MYSQL. In the context of this task, it is important to mention that cookies are the basis of all login systems and I am an expert, although they are pretty simple.
This task can be completed in a few hours although it requires thorough testing.
Thank you.
Ckyeu