[GH-ISSUE #193] Ajax mode : bad behaviour if a session timeout is configured #177

Closed
opened 2026-02-27 11:10:28 +03:00 by kerem · 1 comment
Owner

Originally created by @tonioo on GitHub (Dec 4, 2013).
Original GitHub issue: https://github.com/modoboa/modoboa/issues/193

Originally assigned to: @tonioo on GitHub.

Originally created by Antoine Nguyen on 2011-10-26T15:08:07Z

It is possible to define a timeout for opened sessions. (Django feature)

When a session times out, "ajax" based applications do not redirect users to the login page until a full refresh is done. Is it certainly due to the fact that we do not handle redirections for ajax calls...

Originally created by @tonioo on GitHub (Dec 4, 2013). Original GitHub issue: https://github.com/modoboa/modoboa/issues/193 Originally assigned to: @tonioo on GitHub. **Originally created by Antoine Nguyen on 2011-10-26T15:08:07Z** It is possible to define a timeout for opened sessions. (Django feature) When a session times out, "ajax" based applications do not redirect users to the login page until a full refresh is done. Is it certainly due to the fact that we do not handle redirections for ajax calls...
kerem 2026-02-27 11:10:28 +03:00
  • closed this issue
  • added the
    bug
    label
Author
Owner

@tonioo commented on GitHub (Dec 4, 2013):

Posted by Redmine Admin on 2012-01-10T09:40:01Z

In [e0f087e7383ef8901b6209f32b3dd37f168c63d6]:

#!CommitTicketReference repository="" revision="e0f087e7383ef8901b6209f32b3dd37f168c63d6"
Simple hack to catch redirections after an ajax request. It is not a clean and perfect solution but it should address most cases.
fix #181
<!-- gh-comment-id:29814047 --> @tonioo commented on GitHub (Dec 4, 2013): **Posted by Redmine Admin on 2012-01-10T09:40:01Z** In [e0f087e7383ef8901b6209f32b3dd37f168c63d6]: <pre> #!CommitTicketReference repository="" revision="e0f087e7383ef8901b6209f32b3dd37f168c63d6" Simple hack to catch redirections after an ajax request. It is not a clean and perfect solution but it should address most cases. fix #181 </pre>
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/modoboa-modoboa#177
No description provided.