Q1
Since sessions in PHP rely on cookies being enabled on the users computer, what happens if the user decides not to use cookies, how could I still maintain the session or how can use sessions in php without using cookies?
Q2
In my php file how would I be able to detect if a user has cookies enabled?
I have a php page that has a simple message saying “Please enable cookies”. I want to redirect to this page if the user has cookies disabled?
Q3
Can someone tell me if it is possible to set and access a cookie in the same page like you can do with sessions?
Thanks