It is good practise when dealing with scripts that use the header() function to also include session information.
When a user doesn't allow cookies and trans id is set to ON. The browser will automatically add the session id to all anchors and forms, so that is can be passed to the next page, continuing the session. However the header is not re-written, but if you add SID to the end of your header urls it will autmatically be added in IF needed.
header("location : home.php?" . SID);
e.g.
If cookies are allowed then the home.php? page will open
if not the home.php?PHPSESSID=dsfhj3423340320 will open.
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.