Session cookie

is a new session cookie supposed to be sent from the server whenever a page is refreshed?

if your server implements this behavior… just test it by looking in your browsers devtools (F12)

currently I am at localhost and I do not see the session cookie being changed.

why should the session cookie change?

if you see no difference in your devtools response headers, your cookie did not change.

I am not saying it should change.I do not know,that is why I am asking.
And there is a reason I am making this question.In my scripts I have placed this code:

ession_set_cookie_params($sesarr["lifetime"],$sesarr["path"],$sesarr["domain"],TRUE,TRUE);

One of the TRUE values in the end is for ensuring that the cookie will be sent only via secure connection and I want to test exactly that.

That is why I am asking if on page refresh the cookie is sent again.

This topic was automatically closed 91 days after the last reply. New replies are no longer allowed.