Jump to content

Sharing PHP globals between scripts?


dukesdemise

Recommended Posts

The only information the server receives that ties any http request to any other http request is what the browser supplies.

 

You can directly pass information between http requests by using cookies, post data (assuming you have a form), or as get data (as part of the URL.) You can indirectly pass information between requests using sessions or by passing some other unique id as part of the http request that is then tied to data you have stored somewhere on the server that is associated with that unique id.

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.