Hello,
when I am logged in non-permanently on MediaWiki 1.6.8 (with LDAP-Auth and PageProtecion) and edit an article for over one hour (e.g. start editing, go to a meeting and leave the window unchanged, come back and finish article or also if I spend one hour with pure writing and editing the article) I receive the error-message that I am currently not logged on, when I want to save the article. Logging in again with the given link as well as navigating with the browser's back-button, flushes the cache (maybe because of the disablecache() in PageProtection) without saving my changes. So my work of at least one hour is deleted.
I don't know why MediaWiki has a timeout with runs out after one hour and I also don't know how to configure this value.
Does anybody know, which parameter is reasonable for this behavior?
Thank you in advance,
kind regards,
Frank
On Sat, 09 Dec 2006 14:13:06 +0100 "bl@vitronic.com" bl@vitronic.com wrote:
Hello,
when I am logged in non-permanently on MediaWiki 1.6.8 (with LDAP-Auth and PageProtecion) and edit an article for over one hour (e.g. start editing, go to a meeting and leave the window unchanged, come back and finish article or also if I spend one hour with pure writing and editing the article) I receive the error-message that I am currently not logged on, when I want to save the article. Logging in again with the given link as well as navigating with the browser's back-button, flushes the cache (maybe because of the disablecache() in PageProtection) without saving my changes. So my work of at least one hour is deleted.
I don't know why MediaWiki has a timeout with runs out after one hour and I also don't know how to configure this value.
Does anybody know, which parameter is reasonable for this behavior?
Thank you in advance,
kind regards,
Frank
I'm not certain, but I believe this is handled in your server's php.ini file.
Thank you for your answer, ...
but in my php.ini there are only timeouts set in seconds and noting above 90 seconds. Also in the apache-confs there is nothing to find about this.
Any more ideas?
Kind regards,
Frank
Raquel schrieb:
On Sat, 09 Dec 2006 14:13:06 +0100 "bl@vitronic.com" bl@vitronic.com wrote:
Hello,
when I am logged in non-permanently on MediaWiki 1.6.8 (with LDAP-Auth and PageProtecion) and edit an article for over one hour (e.g. start editing, go to a meeting and leave the window unchanged, come back and finish article or also if I spend one hour with pure writing and editing the article) I receive the error-message that I am currently not logged on, when I want to save the article. Logging in again with the given link as well as navigating with the browser's back-button, flushes the cache (maybe because of the disablecache() in PageProtection) without saving my changes. So my work of at least one hour is deleted.
I don't know why MediaWiki has a timeout with runs out after one hour and I also don't know how to configure this value.
Does anybody know, which parameter is reasonable for this behavior?
Thank you in advance,
kind regards,
Frank
I'm not certain, but I believe this is handled in your server's php.ini file.
but in my php.ini there are only timeouts set in seconds and noting above 90 seconds. Also in the apache-confs there is nothing to find about this.
I've gone overnight with editing and haven't been logged out, so it's definitely possible. In my php.ini there's an option called "session.cookie_lifetime" which apparently means "until the browser is restarted." Maybe that's it? (Assuming cookies are working for your sessions and it's not falling back to another method that times out sooner.)
Either way if you've been away for a while just open another link (like the main page) in a new window/tab - log in there if required, and then go back and save your changes in the original window/tab.
Cheers, Adam.
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1
Adam Nielsen wrote:
but in my php.ini there are only timeouts set in seconds and noting above 90 seconds. Also in the apache-confs there is nothing to find about this.
I've gone overnight with editing and haven't been logged out, so it's definitely possible. In my php.ini there's an option called "session.cookie_lifetime" which apparently means "until the browser is restarted." Maybe that's it? (Assuming cookies are working for your sessions and it's not falling back to another method that times out sooner.)
The session may expire earlier than the cookie; the server has no way of knowing when the browser leaves.
Note that if you log in with the 'remember my login' option checked, the session is automatically reopened should it expire, until up to 30 days later.
Either way if you've been away for a while just open another link (like the main page) in a new window/tab - log in there if required, and then go back and save your changes in the original window/tab.
Personally, I pull out the 'preview' button for this sort of case. Once you're sure the session is reestablished, you can click 'save' in confidence. :)
- -- brion vibber (brion @ pobox.com)
Hi Brion,
Note that if you log in with the 'remember my login' option checked, the session is automatically reopened should it expire, until up to 30 days later.
How can I prevent MediaWiki from expiring my session without the 'remember my login' option checked? The expiring session is not transparent for normal users and they won't preview their changes before saving it. They also won't copy their changes to clipboard before clicking on the save-button. So again: How can change this behavior. This timeout is surely configurable and one hour is too short at all!!
Kind regards,
Frank
Brion Vibber schrieb:
Adam Nielsen wrote:
but in my php.ini there are only timeouts set in seconds and noting above 90 seconds. Also in the apache-confs there is nothing to find about this.
I've gone overnight with editing and haven't been logged out, so it's definitely possible. In my php.ini there's an option called "session.cookie_lifetime" which apparently means "until the browser is restarted." Maybe that's it? (Assuming cookies are working for your sessions and it's not falling back to another method that times out sooner.)
The session may expire earlier than the cookie; the server has no way of knowing when the browser leaves.
Note that if you log in with the 'remember my login' option checked, the session is automatically reopened should it expire, until up to 30 days later.
Either way if you've been away for a while just open another link (like the main page) in a new window/tab - log in there if required, and then go back and save your changes in the original window/tab.
Personally, I pull out the 'preview' button for this sort of case. Once you're sure the session is reestablished, you can click 'save' in confidence. :)
-- brion vibber (brion @ pobox.com)
_______________________________________________ MediaWiki-l mailing list MediaWiki-l@Wikimedia.org http://mail.wikipedia.org/mailman/listinfo/mediawiki-l
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1
bl@vitronic.com wrote:
Note that if you log in with the 'remember my login' option checked, the session is automatically reopened should it expire, until up to 30 days later.
How can I prevent MediaWiki from expiring my session without the 'remember my login' option checked?
Use the PHP configuration options previously quoted to you.
- -- brion vibber (brion @ pobox.com)
Hi Brion,
I have tested all previously quoted parameters and none of them was responsible for the timeout.
I have tested:
session.gc_maxlifetime => "1440"
So I should have been logged out after 24 minutes. After starting to edit an article I waited 27 Minutes and clicked on save and the changes were saved correctly.
I think that both parameters
session.cache_expire => "180" session.cookie_lifetime => "0"
can't be the reason for the timeout.
Do you have another idea?
Thank you in advance,
kind regards,
Frank
Brion Vibber schrieb:
bl@vitronic.com wrote:
Note that if you log in with the 'remember my login' option checked, the session is automatically reopened should it expire, until up to 30 days later.
How can I prevent MediaWiki from expiring my session without the 'remember my login' option checked?
Use the PHP configuration options previously quoted to you.
-- brion vibber (brion @ pobox.com)
_______________________________________________ MediaWiki-l mailing list MediaWiki-l@Wikimedia.org http://mail.wikipedia.org/mailman/listinfo/mediawiki-l
On Mon, 11 Dec 2006 18:09:20 +0100 "bl@vitronic.com" bl@vitronic.com wrote:
Hi Brion,
I have tested all previously quoted parameters and none of them was responsible for the timeout.
I have tested:
session.gc_maxlifetime => "1440"
So I should have been logged out after 24 minutes. After starting to edit an article I waited 27 Minutes and clicked on save and the changes were saved correctly.
I think that both parameters
session.cache_expire => "180" session.cookie_lifetime => "0"
can't be the reason for the timeout.
Do you have another idea?
Thank you in advance,
kind regards,
Frank
Have you restarted your web server since changing those parameters?
Hi Raquel,
Have you restarted your web server since changing those parameters?
If I had changed the value from the default-paramter (1440 seconds => 24 minutes), I surely would have restarted the server.
But 1440 is the default-parameter, so the server needn't to be restarted. But the problem isn't solved and the timeout-parameter isn't found yet.
Any more ideas?
Thank you in advance,
Frank
Raquel schrieb:
On Mon, 11 Dec 2006 18:09:20 +0100 "bl@vitronic.com" bl@vitronic.com wrote:
Hi Brion,
I have tested all previously quoted parameters and none of them was responsible for the timeout.
I have tested:
session.gc_maxlifetime => "1440"
So I should have been logged out after 24 minutes. After starting to edit an article I waited 27 Minutes and clicked on save and the changes were saved correctly.
I think that both parameters
session.cache_expire => "180" session.cookie_lifetime => "0"
can't be the reason for the timeout.
Do you have another idea?
Thank you in advance,
kind regards,
Frank
Have you restarted your web server since changing those parameters?
On Mon, 11 Dec 2006 19:10:38 +0100 "bl@vitronic.com" bl@vitronic.com wrote:
Have you restarted your web server since changing those parameters?
If I had changed the value from the default-paramter (1440 seconds => 24 minutes), I surely would have restarted the server.
Why must you have surely restarted the server. Changes have been made by other people without restarting the server. So please stow the attitude. You ask for ideas and I tossed one out. Don't treat me like I'm stupid.
I am sorry... Please apologize, OK?
Frank
Raquel schrieb:
On Mon, 11 Dec 2006 19:10:38 +0100 "bl@vitronic.com" bl@vitronic.com wrote:
Have you restarted your web server since changing those parameters?
If I had changed the value from the default-paramter (1440 seconds => 24 minutes), I surely would have restarted the server.
Why must you have surely restarted the server. Changes have been made by other people without restarting the server. So please stow the attitude. You ask for ideas and I tossed one out. Don't treat me like I'm stupid.
On Mon, 11 Dec 2006 22:01:38 +0100 "bl@vitronic.com" bl@vitronic.com wrote:
Raquel schrieb:
On Mon, 11 Dec 2006 19:10:38 +0100 "bl@vitronic.com" bl@vitronic.com wrote:
Have you restarted your web server since changing those parameters?
If I had changed the value from the default-paramter (1440
seconds > => 24 minutes), I surely would have restarted the server.
Why must you have surely restarted the server. Changes have been made by other people without restarting the server. So please stow the attitude. You ask for ideas and I tossed one out. Don't treat me like I'm stupid.
I am sorry... Please apologize, OK?
Frank
Apology accepted. I hope you figure out what's going on.
--- Raquel ============================================================ The more a man knows, the more willing he is to learn ... The less a man knows, the more positive he is that he knows everything. --Robert G.Ingersoll
Hello Frank,
Do you know if this is a client side issue? Could you give us a URL for the site and let us see if the cookie expires after one hour? Have you tried different browsers?
Thanks, Kasimir
On 12/11/06, Raquel raquel@thericehouse.net wrote:
On Mon, 11 Dec 2006 22:01:38 +0100 "bl@vitronic.com" bl@vitronic.com wrote:
Raquel schrieb:
On Mon, 11 Dec 2006 19:10:38 +0100 "bl@vitronic.com" bl@vitronic.com wrote:
Have you restarted your web server since changing those parameters?
If I had changed the value from the default-paramter (1440
seconds > => 24 minutes), I surely would have restarted the server.
Why must you have surely restarted the server. Changes have been made by other people without restarting the server. So please stow the attitude. You ask for ideas and I tossed one out. Don't treat me like I'm stupid.
I am sorry... Please apologize, OK?
Frank
Apology accepted. I hope you figure out what's going on.
Raquel
The more a man knows, the more willing he is to learn ... The less a man knows, the more positive he is that he knows everything. --Robert G.Ingersoll
MediaWiki-l mailing list MediaWiki-l@Wikimedia.org http://mail.wikipedia.org/mailman/listinfo/mediawiki-l
Hello,
I think this is a server-issue. Giving you an URL is not possible, because the wiki is in our intranet.
But I just testet it on http://meta.wikimedia.org/wiki/Main_Page and the same issue occurs. The only difference is that wikimedia doesn't use PageProtection where the cache has to be disabled. So you can step back to your changes with the browsers back-button. But the session terminates equally.
I also tried MSIE 7.0...same behaviour here.
@Brion Vibber: Where does this timeout come from?
Kind regards,
Frank
Kasimir Gabert schrieb:
Hello Frank,
Do you know if this is a client side issue? Could you give us a URL for the site and let us see if the cookie expires after one hour? Have you tried different browsers?
Thanks, Kasimir
On 12/11/06, Raquel raquel@thericehouse.net wrote:
On Mon, 11 Dec 2006 22:01:38 +0100 "bl@vitronic.com" bl@vitronic.com wrote:
Raquel schrieb:
On Mon, 11 Dec 2006 19:10:38 +0100 "bl@vitronic.com" bl@vitronic.com wrote:
Have you restarted your web server since changing those parameters?
If I had changed the value from the default-paramter (1440
seconds > => 24 minutes), I surely would have restarted the server.
Why must you have surely restarted the server. Changes have been made by other people without restarting the server. So please stow the attitude. You ask for ideas and I tossed one out. Don't treat me like I'm stupid.
I am sorry... Please apologize, OK?
Frank
Apology accepted. I hope you figure out what's going on.
Raquel
The more a man knows, the more willing he is to learn ... The less a man knows, the more positive he is that he knows everything. --Robert G.Ingersoll
MediaWiki-l mailing list MediaWiki-l@Wikimedia.org http://mail.wikipedia.org/mailman/listinfo/mediawiki-l
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1
bl@vitronic.com wrote:
@Brion Vibber: Where does this timeout come from?
To the best of my knowledge any timeout on sessions, stored on the filesystem per PHP's defaults, would be from the PHP configuration.
- -- brion vibber (brion @ pobox.com)
Hi Adam,
definitely possible. In my php.ini there's an option called "session.cookie_lifetime" which apparently means "until the browser is restarted." Maybe that's it? (Assuming cookies are working for your
Well, the default value is "0" which means exactly what you have written. But the browser window isn't closed, so the session can't expire! So IMHO this can't be the parameter which is responsible for the problem.
Either way if you've been away for a while just open another link (like the main page) in a new window/tab - log in there if required, and then go back and save your changes in the original window/tab.
Yes, I can also copy my changes to clipboard before saving, but I am not asking because I have got this problem, but my users. And they won't understand, why they should do such trouble to just save a stupid article. And if they would understand, they would forget it in the moment they want to save and their work would be trashed.
Kind regards,
Frank
Adam Nielsen schrieb:
but in my php.ini there are only timeouts set in seconds and noting above 90 seconds. Also in the apache-confs there is nothing to find about this.
I've gone overnight with editing and haven't been logged out, so it's definitely possible. In my php.ini there's an option called "session.cookie_lifetime" which apparently means "until the browser is restarted." Maybe that's it? (Assuming cookies are working for your sessions and it's not falling back to another method that times out sooner.)
Either way if you've been away for a while just open another link (like the main page) in a new window/tab - log in there if required, and then go back and save your changes in the original window/tab.
Cheers, Adam. _______________________________________________ MediaWiki-l mailing list MediaWiki-l@Wikimedia.org http://mail.wikipedia.org/mailman/listinfo/mediawiki-l
On 09/12/06, bl@vitronic.com bl@vitronic.com wrote:
I don't know why MediaWiki has a timeout with runs out after one hour and I also don't know how to configure this value.
Sessions expire.
Does anybody know, which parameter is reasonable for this behavior?
session.timeout or somesuch in PHP.ini
Rob Church
Hi Rob,
Does anybody know, which parameter is reasonable for this behavior?
session.timeout or somesuch in PHP.ini
There is no session.timeout, but the following paramters (with their default values):
session.cache_expire => "180" session.gc_maxlifetime => "1440" session.cookie_lifetime => "0"
Because none of those parameters are set in my php.ini I assume that the default values are used, but none of those parameters is approximately one hour.
Any more ideas?
Kind regards,
Frank
Rob Church schrieb:
On 09/12/06, bl@vitronic.com bl@vitronic.com wrote:
I don't know why MediaWiki has a timeout with runs out after one hour and I also don't know how to configure this value.
Sessions expire.
Does anybody know, which parameter is reasonable for this behavior?
session.timeout or somesuch in PHP.ini
Rob Church _______________________________________________ MediaWiki-l mailing list MediaWiki-l@Wikimedia.org http://mail.wikipedia.org/mailman/listinfo/mediawiki-l
mediawiki-l@lists.wikimedia.org