Home > Software engineering >  Login using webbrowser BBS, inet fast logout: what happened?
Login using webbrowser BBS, inet fast logout: what happened?

Time:10-31

Login using webbrowser BBS, inet fast logout: what happened?
Any player can? Help novice the younger brother

CodePudding user response:

Analysis of log out of the station code for some just browsing a page even ran complex need to submit the form

CodePudding user response:

refer to the original poster h1601 response:
login using webbrowser BBS, inet fast logout: what happened?
Any player can? Help novice younger brother
delete the cookie should be able to

CodePudding user response:

1 floor:
The analysis of the web source code for a & lt; The form id="logout_form method=" post "action=" "/logout. PHP" onsubmit="return Event. __inlineSubmit (this Event)" & gt; I use inet the execute method post out the inside of the postdata content should be?

CodePudding user response:

Logout. PHP directly to this page just post an empty string estimate those parameters should be dispensable probably just record some of the state, if you don't need these services can not pass these parameters

CodePudding user response:

Inet. Execute "http://host/logout. PHP", "Post", "to send data", "header information"

To send data: the data encoding,
Header: "the content-type: application/x - WWW - form - urlencoded" & amp; VbCrLf & amp; "Connection: Keep Alive -"


In fact you this is the function of an exit form, direct is inet. Execute "http://host/logout. PHP" line!

CodePudding user response:

First thanked everyone help!
Tried "http://host/logout. PHP" refresh after execution webbrowser or login state

CodePudding user response:

I think the effect of: a form window with webbowser manually fill in the account password login a web site, after visiting, with inet contract automatically quit! After see in webbowser exit process! On the web to find the source file is above that!

CodePudding user response:

With WEBBOWSER statements directly operating well, also add a INET do not reinvent the wheel, I studied the INET recently, XMLHTTP, WEBBROWSER, WINSOCK, these four web operations,
INET is not Shared with IE cookies (I don't know if I can't call IE cookies, if someone will, also please advise),
Only XMLHTTP WEBBROWSER and IE share a COOKIE, so look at your request, use WEBBOWSER statements directly operate well,

CodePudding user response:

It is ok to use webbrowswer visit the logout page,

CodePudding user response:

Tried to use webbrowswer access to the logout page or no effect!

CodePudding user response:

Or do you have any other method can realize I want to use a batch account bulk a web site, after the first login, change out of one account, it will remain in the first account login status, do can log on to the next account automatically quit last number?

CodePudding user response:

11 references h1601 response:
or do you have any other method can realize I want to use a batch account bulk a web site, after the first login, change out of one account, it will stay in the first account login, do can log on to the next account automatically quit last number?



Multiple number can try to load multiple controls, if access to the logout page all can't, that may be the logout page right or something, you are now under normal use, determine the click logout to logout, and then use that access to the logout page!

CodePudding user response:

references to the tenth floor h1601 response:
tried to use webbrowswer access to the logout page or no effect!



You made a mistake, a direct access to the logout button is good ah

CodePudding user response:

  • Related