0

I have an ext js 4 app with symfony 2 backend and session configuration like this:

framework:
  ... 
  session:
      default_locale: %locale%
      auto_start:     true
      lifetime: 1800
  ...

When using the app the session expires whenever the lifetime elapsed after login, even if request are sent to the server by ajax. I didnt find an solution how to avoid this. Or what am I getting wrong?

j0k
  • 22,600
  • 28
  • 79
  • 90
user1063963
  • 1,355
  • 6
  • 22
  • 34
  • Duplicate of my question which has been answered. See http://stackoverflow.com/questions/8611247/how-can-i-refresh-the-session-during-a-post-request – Steven Mercatante Dec 24 '11 at 03:35

1 Answers1

0

I doubt your problem is that your using ajax. Far as i know, ajax requests should be handled like any other SF request, and your session should be extended like normal.

MrGlass
  • 9,094
  • 17
  • 64
  • 89