Thread:Project:Support desk/Browser and server shared login

Hello,

This may seem a strange topic, but I'm currently trying to login in a mediawiki installation behind the scenes through my php application (with API calls). I'm able to do that with no problem at all.

The thing becomes tough when I need to make the silent login and still be able to access the wiki in the browser, without having to authenticate manually there.

The problem here is that the wiki will set a sessionid for the login api call and another for the sessionid browser login.

Now, is it possible, in anyway, to have this shared user session?

I've already tried logging in through ajax calls, but post data is not possible through normal means. And the workaround for post ajax requests will cause the same issue has above (two sessions instead of only one).

MediaWiki: 1.18 PHP: 5.3.8 MySQL: 5.0.8-dev

Thanks in advance.