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

CFLOGIN IdleTimeout Message

Guest
Jul 25, 2009 Jul 25, 2009

Hi. I have my cflogin set with an idletimeout of 15 minutes (900 seconds). How can I make it so that when the login timesout, a message appears on the login page saying "You have been autmatically logged out of the site after 15 minutes of inactivity."

Thanks!

579
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
Guest
Jul 28, 2009 Jul 28, 2009
LATEST

If you are using AJAX you can make an Async call to your server to check the status using a session id.  The call should be on it's own timer so that it only happens perhaps once a minute or two.  Kind of like a keep alive request.  The service you call could be a simple cfc set to remote that simply verifies if the session is still valid or if the user is still logged in.  If the session has ended do one thing and if not do another (noting most likely).

-Joe

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