peter schneider;10939429 wrote:i just start a session in the external script and it somehow makes the connection to the "internal" session automatically so that i can access all session data there too. guess that's the savest way of all 😉
dont know how or why this works though ... :eek:
There is no real meaning to "external" and "internal" here. The browser sends a get request to retrieve your page. This request contains headers, such as cookies. The browsers gets a response. The response contains headers, such as cookies.
The browsers parses this information and finds an image tag. The image tag has a src attribute, so the browser sends a get request to retrieve the image. The get requests is still a get request, even though it has probably specified that it only accepts mime types of image/*. Since it's a request it contains headers, such as cookies.
And the same goes for css files, javascript files etc.