<!-- IMPORTANT: Fill out the "Subject/headline" box above. Then go to your wiki's [[Special:Version]] page and note your software version info below. -->
* MediaWiki version: 1.16.0 beta3
* PHP version: 5.3.3
* MySQL version: 5.1.41
* URL: localhost
<!-- Now, please report your error, or ask your support question below. (You can remove this line before saving.) -->

Hello. I've been trying to develop a loader project in C#, but in order to upload a file, the user is supposed to be authenticated in the Wiki website. For now, all what I've got is to use "[[api.php?action=query&meta=userinfo]]", but I guess it needs the cookies.
Everytime I visit that site from my browser, it gives me the right ID and username, but when I try to access from the C# Web Request, it just keeps giving me the ID as 0 and as a non-authenticated user.
How can I solve this?

Any information I could receive will be appreciated on fladei.contrer@gmail.com

I gave up, the thread is closed.
I used OpenID instead.

Be a part of the DaniWeb community

We're a friendly, industry-focused community of 1.18 million developers, IT pros, digital marketers, and technology enthusiasts learning and sharing knowledge.