Quantcast
Channel: PHP Freaks: PHP Help
Viewing all articles
Browse latest Browse all 13200

Cookies or sessions?

$
0
0

Hi, I'm trying to create a login form so that when a user logs in, they stay logged in and I'm wondering, which is better to use? The cookie method by doing: setcookie 

or the session_start() method? So far I've been unsuccessful with the session_start(); method. Any suggestions? Thanks.

 

 

 


Viewing all articles
Browse latest Browse all 13200

Trending Articles