I looked at all the folder demos I found an example with cookies, but it is not with ssl component, I tried to do everything, clear the cookies, send empty cookie, nothing else resolves, every time I send the POST it's like the first user:
Buf := AnsiString('perfil=1&txtLogin=user1&txtPassword=passuser1&envia=1'); //<< It's as if I always sent this Buf := AnsiString('perfil=1&txtLogin=user2&txtPassword=passuser2&envia=1'); Buf := AnsiString('perfil=1&txtLogin=user3&txtPassword=passuser3&envia=1'); Buf := AnsiString('perfil=1&txtLogin=user4&txtPassword=passuser4&envia=1'); I can report anything, even a non-existent user and password that still authenticates ... I removed the "IcsCookies" component of the form and still continue using the cookie, I did not understand anything, it is recorded on the computer? And always use that data regardless of what I post? Please, I need a lot to use this component, TIdHttp causes me many problems. 2017-05-28 11:53 GMT-03:00 {Dark_Ducke} <darkdu...@gmail.com>: > Can inform me the name of the demo project that use cookies, I did not > find, thank you! > > 2017-05-28 5:29 GMT-03:00 Angus Robertson - Magenta Systems Ltd < > an...@magsys.co.uk>: > >> > Thanks, it worked perfectly, I managed to navigate the other >> > pages, but now another problem has appeared, I changed the user >> > and logged in again, and all the pages that I navigate are with >> > the data of the first user, even sending a post with incorrect >> > login and password He logs in as if he was the first user to >> > take the test. >> >> All I can suggest is you add logging to your application to check the >> actual cookies returned by responses, and then check those same cookies >> are being sent in requests for the same URL. It sounds like you are >> not correctly saving cookies. >> >> > Already taking advantage of not send another email, what is the >> > property "MultiThreaded"? >> >> This is primarily for servers handling many complex clients at the same >> time, changing the property itself does almost nothing, you have to >> rewrite your application to use threads. >> >> > Ps: Is there any documentation for this component? It is not even >> > on the ICS component list on the overbyte.eu site >> >> The main web site is rarely updated, but the readme8.txt file contains >> a full list all components, updated two days ago, there is a sample >> project for cookies that tests them. But no documentation other than >> in the components and sample. >> >> We have continually asked for assistance documenting ICS over 20 years, >> with little success. I don't have the free time to both maintain ICS >> and write new components, and then update web sites and wiki. >> >> Angus >> >> -- >> To unsubscribe or change your settings for TWSocket mailing list >> please goto http://lists.elists.org/cgi-bin/mailman/listinfo/twsocket >> Visit our website at http://www.overbyte.be >> > > -- To unsubscribe or change your settings for TWSocket mailing list please goto http://lists.elists.org/cgi-bin/mailman/listinfo/twsocket Visit our website at http://www.overbyte.be