Jump to content

Setcookie vs Session?


mfleming

Recommended Posts

Hello.

 

I currently have a site that registered members can login in to and view the member only pages.  Eventually I will  be adding paypal code to purchase products.

 

I use Session with an IF statement  for all my members pages.  Would it be beneficial at all to have cookies created for the users with setcookie?  Or is this just a security risk waiting to happen?

 

 

Link to comment
https://forums.phpfreaks.com/topic/217328-setcookie-vs-session/
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.