.net - Web login into a forum link to store the page sourcecode -


how can log in site using native methods? http://forum.soundarea.org/index.php?/forum/1121-01-2013/

my intention log in in background (i mean without openning webbrowser interface or showing page) store page sourcecode.

i tried log in using this: http://myuser:mypass@forum.soundarea.blabla

tried using post can't:

http://forum.soundarea.org/index.php?&ips_username=myuser&ips_password=mypass

http://forum.soundarea.org/index.php?app=core&module=global&section=login&ips_username=myuser&ips_password=mypass

(i think used correct ids site i'm not sure)

also tried using wget application can't log in url.

i don't tried in .net because don't have info methods can use or else start trying because first of don't know protocol requires (http login or post php or other) i'm not expert things.

please if can give me info or examples, , tell me fault.

i suggest use httprequest emulate login progress,use httpresponse webserver response , content , use global cookiecontainer store cookies.

when login successful message,you can use other httprequest global cookiecontainer web pages want download or access.

you can use httpwatch(www.httpwatch.com) watch how internet explorer exchange data webserver.you can use ie9 devloper tools this(press f12 in ie9).

in case.

1.you should http://forum.soundarea.org/index.php?app=core&module=global&section=login page's source code.you see

ipb.vars['secure_hash']         = '880ea6a14ea49e853634fbdc5015a024'; 

880ea6a14ea49e853634fbdc5015a024 secure_hash.

2.post http://forum.soundarea.org/index.php?app=core&module=global&section=login&do=process page. use parameter:

auth_key=880ea6a14ea49e853634fbdc5015a024&ips_username=test&ips_password=pass&rememberme=1 

and cookie.

3 . page want cookie.


Comments

Popular posts from this blog

c# - DetailsView in ASP.Net - How to add another column on the side/add a control in each row? -

javascript - firefox memory leak -

Trying to import CSV file to a SQL Server database using asp.net and c# - can't find what I'm missing -