I have recently taken over a website written in ASP Classic. It uses a MS access database for the back end.
The website allows people to sign in and pay a membership fee in order to keep there account active.
My Problem is when someones account expires I have no way to change the status of the account from active to inactive. All of the code uses that as a reference rather then the dates. Any suggestions on how I could automatically go through and deactivate accounts as they expire?
Thanks
You didn’t provide details about how you store that information, but perhaps you are able to update account status with an UPDATE query similar to this:
Since you can’t connect to the the database directly. You can run the UPDATE statement from an ASP page. And open that page when you want to update membership status.
Another possibility is to change the criteria for the query you use to display the membership list.
That way you would filter out expired members whose [Active] status hasn’t been updated yet.