issue in GetPage3 function

You found an error in the program ? Report it here
Post Reply
J
Posts: 224
Joined: 2008-02-17 17:09:26

issue in GetPage3 function

Post by J »

hi soulsnake,

after some testing because of problems with the moviemeter.nl script (see forum script area), I found out, that when getpage3 function is called twice (with cookies), from the second time on only one cookie is sent to the server.

Code: Select all

PageText := GetPage3('http://www.moviemeter.nl/film/320','','cok=1;PHPSESSID=12j2h9nan7ckn5a40rnm513mp5;last_visit=1438707334');
  ShowMessage(PageText);
  PageText := GetPage3('http://www.moviemeter.nl/film/99817','','cok=1;PHPSESSID=12j2h9nan7ckn5a40rnm513mp5;last_visit=1438707334');
  ShowMessage(PageText);
Result for first call (film 320): --> All three cookies have been sent.
Result for second call (film 99817): --> Only "last_visit=1438707334" has been sent.

If you call second time with only one cookie "cok=1", result is nevertheless again "last_visit=1438707334" has been sent, which is irritating for me.

Not sure this is intended or an issue, perhaps you can take a look at this.

thanks
J.
soulsnake
Posts: 756
Joined: 2011-03-14 15:42:20
Location: France

Post by soulsnake »

Hi,

I will take a look ;).

Soulsnake.
soulsnake
Posts: 756
Joined: 2011-03-14 15:42:20
Location: France

Post by soulsnake »

Hi,

I found and fix the problem for the next release.
I also add functions for scripting to fully manage cookies ;).
So next time it will be easier to debug and add/modify cookies :D.

Soulsnake.
J
Posts: 224
Joined: 2008-02-17 17:09:26

Post by J »

very good,
guess cookie handling will become more important for the future.

thank you.
J.
Post Reply