GUBBELS Jac schreef:
Thus: I can authenticate using the api. In return I get a page with some php array (mentioning success!). Now I need to somehow redirect the browser to the main page of the wiki to benifit from the succeeded login. This is where I am lost. I obivously somehow need to start some session. Hopefully one of you can be a little more verbose in his or her reaction, because I seem to need it ;-) I also tried the FauxRequest approach described on the wiki and even experimented with libcurl but all without succes... I hope someone has the heart (and time) to save me from this ordeal. -- Jac
You need to fetch the cookies that api.php passes you (*all* of them) and pass them along to the user.
Roan Kattouw (Catrope)