ajax requests + login time


i have page (only logged user can access it), on which i invoke ajax request every minute.

The problem is, that requests extends user session.

In other words - without this ajax request user is logged out after X minutes.

I dont want to this ajax requests affect (extend) session time.

How to handle this?

nobdy? Is that clear to you?

I assume you don’t want any action to extend user session time. Looks like your options are:

  1. ajax request must be send to a different domain or

  2. implement other mechanism to limit user time on the website.

Yes, correct


  1. ajax + diffrent domain will be problematic;

  2. i’d rather modify existing classes.