Home > Back-end >  How to use idhttp implements the automatic login
How to use idhttp implements the automatic login

Time:10-01

If I were in the url input:
http://my.37.com/api/login.php? The callback=jquery18300229235969016241_13:59 & amp; Action=login& Login_account=account & amp; Password=password & amp; Ajax=0 & amp; Remember_me=1 & amp; Save_state=1 & amp; _=to pronounce
After the login is successful and I will turn to address entered the game:
http://www.37.com/game/play.php? Game_id=237 & amp; Sid=274
To login, after login, can contract awarding, receive packages, thank you very much,

CodePudding user response:

Ready to login site SESSIONID records, is about the same,

CodePudding user response:

Try NextUrl:='https://www.jjjjj.com';//automatic url
IdHTTP1. Request. AcceptLanguage:='useful'.
IdHTTP1. Request. ContentType:='application/x - WWW - form - urlencoded';
IdHTTP1. Request. UserAgent:='Mozilla/5.0 (compatible; MSIE 9.0; Windows NT 6.1; Trident/5.0) '; IdHTTP1. Request. CacheControl:='no - cache;
IdHTTP1. Request. AcceptCharSet:="utf-8";
IdHTTP1. Get (NextUrl, Response);
Except webinfo:=';
The Response. DataString;
end;

Like this can, want to do return of cookies for processing and preservation

CodePudding user response:

cookiemamanger
  • Related