thanks
2017-05-31 10:23 GMT-03:00 Angus Robertson - Magenta Systems Ltd <
an...@magsys.co.uk>:
> > I need to make connections every 1 second, Data, and of that
> > received data make another connection depending on the content,
> > my question is, how to wait the data of the first connection
> I need to make connections every 1 second, Data, and of that
> received data make another connection depending on the content,
> my question is, how to wait the data of the first connection and
> only then make the second, third etc
In the timer, you simply check State <> httpReady and give up
Hello, thank you very much for the help, I was able to use the component,
the problem was in the files generated locally, I reused them, now I will
put my project into practice, but I have a question, I need to make
connections every 1 second, Data, and of that received data make another
> Can inform me the name of the demo project that use cookies, I
> did not find, thank you!
Sorry, bad memory, I did a MimeDemo, but not a Cookie demo.
The main test project for cookies was the browser demo,
FrameBrowserIcs.dpr and specifically FBUnitIcs.pas.
And it seems they should be
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 :=
> 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
> One detail I forgot to mention, in the first example you gave me,
> I also had to add the line " SslHttpCli.Cookie :=
> IcsCookies.GetCookies(SslHttpCli.URL);" in the event
> "OnLocationChange" is this correct?
Should not be necessary, and a response with a Location: header should
not set
One detail I forgot to mention, in the first example you gave me, I also
had to add the line " SslHttpCli.Cookie :=
IcsCookies.GetCookies(SslHttpCli.URL);" in the event "OnLocationChange" is
this correct?
2017-05-27 17:03 GMT-03:00 {Dark_Ducke} :
> Thanks, it worked
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
> I get the login data for the login page using "POST" and
> "PostASync", but when doing a GET on the next page that
> should be accessed with the logged in user
Almost certainly cookies, these are not handled internally between
requests, you need to repeat your line:
HttpCli1.Cookie :=
10 matches
Mail list logo