Hi guys,
Is there any way to pass variables across multiple pages without using sessions? I'm just concerned that some of the users to my site might have their cookies turned off, which doesn't let session data be read.
I thought of storing the data in my SQL database, but it seems like more hassle than it's worth.
I might just tell them to shit in their ballcaps if they don't have cookies enabled.
Can you test to see if they have cookies enabled by doing:
if(!session_id()) {
session_start();
if(!session_id()) {
//they must not have cookies on
}
}
?
Thanks, I'm sure this one has come up before, but I couldn't find anything quite the same by searching around...