PDA

View Full Version : "Kill Access" Script?



SteveB27
05-24-2005, 02:52 PM
I'm looking for a script that will check the date a user opens a web page, and will redirect to the web site's home page if the date is within the allowable time frame, or otherwise disallow access if the user's allowed time frame has passed. For example, the user could have access for one year, then have to rejoin or not have access.

Any help would be greatly appreciated!

mwinter
05-24-2005, 05:30 PM
I'm looking for a script that will check the date a user opens a web page, and will redirect to the web site's home page if the date is within the allowable time frame, or otherwise disallow access if the user's allowed time frame has passed. For example, the user could have access for one year, then have to rejoin or not have access.This is not something that a client-side script could realisitically accomplish. You need a server-side solution that involves a login scheme. You can record each user's join date and subscription period (or just expiration date, if you prefer) and deny login if they need to renew their membership.

You'll find more information on the Web, but you'll need to establish what server-side languages (if any) you have available to you, first.

Mike