Closed (won't fix)
Project:
Automated Logout
Version:
7.x-4.x-dev
Component:
Code
Priority:
Major
Category:
Bug report
Assigned:
Unassigned
Issue tags:
Reporter:
Created:
20 Jul 2015 at 08:04 UTC
Updated:
25 Apr 2026 at 19:31 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #1
arijits.drushComment #2
arijits.drushHere is a solution , which will work with
basically checking for
if
class exists and reset timer.
Comment #3
arijits.drushComment #4
Roadking commentedI'm using this patch with AutoLogout 7.x-4.4, Drupal 7.55, PHP 5.3.3, MySQL 5.7.
Patch works but exhibits side effects. After a long running file upload occurs the user is logged out but not redirected to the declared destination in the config (front for us). They stay on the same page they were on when the file upload was occurring. This causes them to see the "Access Denied" screen as they are now an anonymous user. Not a big deal but would be cleaner if it could still take them to the configured log out destination.
Also, when using a file field on a node edit page you must use the browse button to designate the file for upload then click the node save button at the bottom of the page. Use of the "Upload" button next to the file field will result in the node not being saved after the timeout occurs. This means you can't take advantage of the upload progress bar. The file still uploads but never clears /tmp and is set as status 0 in file_managed.
I appreciate the patch as it allows us to keep our mandated low inactivity timeout level but would be nice if there was a cleaner way to implement it. Thanks!
Comment #5
damienmckennaThanks for the patch.
FYI you should leave the "assigned" field set to "unassigned" after you upload a patch - it's for indicating that you're actively working on the issue, not for indicating that you are a person who worked on it.
Comment #6
Roadking commentedHas this issue/patch ever been rolled into a new version? It does not appear to be in the latest version 4.6 and is still needed for allowing users to upload large files without being logged out until the process is complete. Thank you.
Comment #7
the_g_bomb commentedThe last comment is 6 years old; closing due to lack of response.
This is for an unsupported version.
Please reopen if this is still needed in a more recent branch.