[Mediawiki-l] Saving a page, much later

Brion Vibber brion at pobox.com
Wed Mar 29 17:57:39 UTC 2006


laurent wrote:
> Users of mine are running into a problematic situation where a page is 
> left in "edit" mode for several hours. At the end of the day they press 
> "Save" and instead of directly saving, the page shows up a preview.
> 
> Users have checked the "Remember me" box so that login shouldn't be an 
> issue here.

This is because the session eventually times out. With this gone, the security
token which protects against cross-site request forgery attacks can no longer be
confirmed and you have to go through one preview step while your session is
reestablished and a new token assigned.

In php.ini you'll find a number of options related to sessions, including:

; After this number of seconds, stored data will be seen as 'garbage' and
; cleaned up by the garbage collection process.
session.gc_maxlifetime = 1440

If you up that a lot, it might or might not help.

-- brion vibber (brion @ pobox.com)

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 249 bytes
Desc: OpenPGP digital signature
Url : http://lists.wikimedia.org/pipermail/mediawiki-l/attachments/20060329/56163141/attachment.pgp 


More information about the MediaWiki-l mailing list