Tag Archives: jquery

CF, jQuery, Session timeout countdown

jQuery Logo

jQuery

ColdFusion

ColdFusion

Certain ColdFusion applications are written in such a way that after the session times out, the user is also logged out.  This is sometimes to secure the application from others accessing the computer, while the real user is away from their desk.  If this is the case, it’s nice to let the user know how long they’ve got left before they’re logged out due to inactivity.
Continue reading

jQuery: Form changed warning

jQuery Logo

jQuery

The majority of us has had a moment where we’ve been filling out a web page form, been distracted and then left the page without submitting, accidentally clicked a link and navigated away or even had no input focused and hit backspace. Wouldn’t it have been nice to get a little warning saying “Hey, you’ve put changed this form data.  You sure you want leave this page and lose it all?”.  Here’s my effort using jQuery and trying to allow for multiple forms on a single page.
Continue reading