2 Replies - 3251 Views - Last Post: 12 May 2010 - 10:22 PM Rate Topic: -----

#1 djlakshmi   User is offline

  • D.I.C Head

Reputation: 0
  • View blog
  • Posts: 72
  • Joined: 22-March 10

Is it possible to programmatically log out from a website

Posted 12 May 2010 - 02:28 AM

hello,

im using webbrowser control to login programmatically to a website.. it works fine.. and my Question now is is it possible to programmatically log out from that website.

if we press login button in our windows form means it gets login to that website and we can see it in webbrowser
also if i press logout button in my windows form it should log out from that website as we click the signout button of that website.

is it possible?
if possible means how can i do that?

Expecting Help!

thanks.

Is This A Good Question/Topic? 0
  • +

Replies To: Is it possible to programmatically log out from a website

#2 janne_panne   User is offline

  • WinRT Dev
  • member icon

Reputation: 428
  • View blog
  • Posts: 1,047
  • Joined: 09-June 09

Re: Is it possible to programmatically log out from a website

Posted 12 May 2010 - 09:50 AM

How do you log in?

I bet you are iterating though the elements in the login page and you search for textbox for username and password and then fill information to those boxes and finally invoke button click.

Do the same for log out: iterate through controls and find the logout link and invoke button click on it.
Was This Post Helpful? 0
  • +
  • -

#3 djlakshmi   User is offline

  • D.I.C Head

Reputation: 0
  • View blog
  • Posts: 72
  • Joined: 22-March 10

Re: Is it possible to programmatically log out from a website

Posted 12 May 2010 - 10:22 PM

View Postjanne_panne, on 12 May 2010 - 08:50 AM, said:

How do you log in?

I bet you are iterating though the elements in the login page and you search for textbox for username and password and then fill information to those boxes and finally invoke button click.

Do the same for log out: iterate through controls and find the logout link and invoke button click on it.



i cant find any link or function for sign out in that website.. its developed using asp.net so they may take values as hidden..
so only i asked here..

thanks.
Was This Post Helpful? 0
  • +
  • -

Page 1 of 1