Exit
  • Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
  • 한국 커뮤니티
0

expire a page

Explorer ,
Mar 12, 2010 Mar 12, 2010

I have an application running that should only be accessible between certain dates. What is a good way and/or example of expiring page so that once the end date is reached it will inform the user that the application has been disabled. TIA

TOPICS
Advanced techniques
305
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Advisor ,
Mar 15, 2010 Mar 15, 2010
LATEST

You could add some logic to your Application.cfc/cfm file to check the date on each page request.  If the date is not valid for your application then display a message to the user, else execute normally.

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Resources