[wp-trac] [WordPress Trac] #10704: Prevent logout before post save from destroying your changes

WordPress Trac wp-trac at lists.automattic.com
Mon Sep 14 01:02:16 UTC 2009


#10704: Prevent logout before post save from destroying your changes
-------------------------+--------------------------------------------------
 Reporter:  markjaquith  |       Owner:  azaozz
     Type:  enhancement  |      Status:  new   
 Priority:  normal       |   Milestone:  2.9   
Component:  Autosave     |     Version:  2.8.4 
 Severity:  major        |    Keywords:        
-------------------------+--------------------------------------------------

Comment(by azaozz):

 There is one hour grace period for AJAX and POST requests so this should
 be pretty rare. We could pass on the $_POST through the login screens but
 if the user makes a mistake we will have to pass it on again, 3 times, or
 maybe 5?

 Another option is to check how long until the cookie expires when loading
 the edit page and open new window asking the user to login again when that
 is about to happen. Of course that would only work when JS is enabled.
 Still think this is the better option than passing the POST around for not
 logged-in users. It would interrupt the user with something like: "Your
 session has expired. Please log in again." followed by the login form.

-- 
Ticket URL: <http://core.trac.wordpress.org/ticket/10704#comment:1>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list