Interesting.
I log in from two places and I get different session identifiers (not surprising), but the *same* token.
Apparently the problem is that if one logs out from anywhere, it invalidates everywhere. Not too sure about the exact conditions, because it is rather painful. (;-) But bots don't usually log out, so that isn't an issue, they stay logged in for years.
Might be okay.
On Wed, Jul 14, 2010 at 2:55 PM, Roan Kattouw roan.kattouw@gmail.com wrote:
2010/7/14 Robert Ullmann rlullmann@gmail.com:
Hi,
I haven't been able to figure this out from the doc ...
Can I log in a user (bot) from more than one place (IP address) at the same time? I have an impending need to run Interwicket from more than one place, as the primary will be unavailable at times. Is logging in the other system going to log out the first, or some such? any bad effects?
I believe it will cause such an effect, yes. AFAIK the only reliable way to be logged in in two places at once is to log in in one place and transfer the information in the login cookies to the second place.
I think you should just try it and see what happens; worst case you can detect you've been logged out and log in again, although that might not be very nice if you run stuff simultaneously from two places, as they'll spend a lot of time competing for logged-in status.
Roan Kattouw (Catrope)
Mediawiki-api mailing list Mediawiki-api@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/mediawiki-api