A
Anonymous
Guest
Hi,
Is there a way to find out if cookies are enabled in PHP?
I'm using session variables to log in users, but it doesn't work if cookies are not enabled. I guess one way is to register a session variable and check on the next script if ISSET. Is that the best way? Or is it possible to find out within the same script, maybe using javascript?
Many thanks,
Roberto
Is there a way to find out if cookies are enabled in PHP?
I'm using session variables to log in users, but it doesn't work if cookies are not enabled. I guess one way is to register a session variable and check on the next script if ISSET. Is that the best way? Or is it possible to find out within the same script, maybe using javascript?
Many thanks,
Roberto