Activate your free membership today | Log-in

Friday, July 15th, 2005

Update User’s Session with Ajax

Category: Examples

<>p>Eric Pascarello has written both a JSP and ASP backed version of a user session tracker using Ajax. His aim, is to enable users not to get timed out.

His article goes through the Ajaxian code, and both server side pieces.

ajaxTimeoutConfirm.jpg

Related Content:

  • Ajax Learning Guide
    Are you a Web developer? The time has come to rethink your entire approach to developing Web applications. Find out about the Ajax approach...
  • Ajax Learning Guide
    Chances are, you've been doing JavaScript and XML developer work in Lotus Domino for quite some time. This old/new approach is causing quite a stir in...
  • Do any freeware tools scan for Ajax vulnerabilities?
    Securing Ajax applications is a new challenge for anyone developing Web services. In our expert Q&A, Michael Cobb reviews tools that can assess the...
  • Do any freeware tools scan for Ajax vulnerabilities?
    Securing Ajax applications is a new challenge for anyone developing Web services. In our expert Q&A, Michael Cobb reviews tools that can assess the...
  • Yahoo updates photo site with Ajax
    Yahoo is using Ajax to give its photo site the look and feel of a desktop application. The new Yahoo Photos site is currently in beta in the...

Posted by Dion Almaer at 1:47 pm
1 Comment

++---
2.3 rating from 4 votes

1 Comment »

Comments feed

The purpose of session time-outs are for security reasons, so that an active session id is killed with a certain period of inactivity incase the local machine is hijacked or so that the session is not intercepted. Extending the session just by pressing ‘ok’ and using Ajax to renew it sort of defeats the purpose of the timeout – after a session timeout the user should have to re-authenticate.

Comment by Nik Cubrilovic — July 24, 2005

Leave a comment

You must be logged in to post a comment.