Jump to content

SESSIONS Vs COOKIES for authentication storage


vijdev

Recommended Posts

after authenticating username and password,i have a parameter like:

$_SESSION['logged']=1

 

should i be storing this as a cookie?..if yes, then can anyone modify cookie, to have this parameter as "1", and gain access?

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.