Just starting out? Need help? Post your questions and find answers here.
User avatar
majikeyric
 
Posts: 6
Joined: Mon Feb 24, 2014 11:07 pm

HTTPRequest() adds a parameter ...&_=value

by majikeyric Mon Aug 12, 2019 9:35 pm

Hi!

I noticed when HTTPRequest() is executed, a parameter named : _ (underscore) is added to the parameters list with a certain value.

Code: Select all
HTTPRequest(#PB_HTTP_Get, "my_script.php", "a=1", @callback())

in fact sends the parameters :

Code: Select all
a=1&_=value

eg.

a=1&_=56565232333

Any idea what is the use of this silent param ???? :)
Last edited by majikeyric on Mon Aug 12, 2019 11:18 pm, edited 1 time in total.
User avatar
Peter
 
Posts: 657
Joined: Mon Feb 24, 2014 10:17 pm
Location: 127.0.0.1:9080

Re: HTTPRequest() adds a parameter &_=value

by Peter Mon Aug 12, 2019 10:59 pm

majikeyric wrote:Any idea what is the use of this silent param ????

This parameter is used to prevent caching problems.

Greetings ... Peter
Return to Coding Questions

Who is online

Users browsing this forum: No registered users and 2 guests