1) make a login page to get reader's username and password,
2) save it to cookie,
3) on each of your other page check if the cookie is valid, otherwise send the request to HOME/login page
4) make the cookie's life only 30-60 minutes.
回复:html. 谢谢!
所有跟帖:
•
thank you so much!!!
-e带渐宽-
♂
(0 bytes)
()
01/15/2009 postreply
08:16:28