I'm pretty new to PHP and am experimenting with cookies and sessions.
So, in IE, if I set my Privacy settings to Block All Cookies, obviously all cookies will be blocked but what about sessions?
I ask because I am under the impression that if cookies are blocked but I start a session, the session should be valid. In other words, whatever I set for the session variable should stick with the browser for as long as the browser is open but this does not seem to be happening.
My whole thought process behind this is that I could use a cookie as my first means of tracking and in addition to setting the cookie I could also set a session in case cookies are disabled.
So question 1 - Why is my session variable getting blocked? Is that suppose to happen? question 2 - Is it good practice to set both a cookie and a session (in case the cookie is blocked)?