View Full Version : session or cookie, which is more secure ?
08-31-2006, 11:25 AM
session or cookie, which is more secure ?
08-31-2006, 12:07 PM
Use both is better, but i normal use $_SESSION
08-31-2006, 12:10 PM
SESSIONS are good for when you only want the variable to be available for the period of time that the browser is open and connected to your site. and COOKIES are good for when u wanna referrance values later (see if a visitor is revisiting)
08-31-2006, 03:45 PM
They are not really comparable. Cookies is a way to store data on the client and sessions are a way of keeping track which user is which.
08-31-2006, 03:53 PM
summed up in by marek :)
08-31-2006, 07:20 PM
But if you store data in a cookie, it can be changed by the user. So unless it contains a password, cookies aren't very secure.
08-31-2006, 10:03 PM
Beast is a combernation of Cokkies, Sessions and useing a database, storing the session ID and name etc etc....
Powered by vBulletin® Version 4.2.2 Copyright © 2016 vBulletin Solutions, Inc. All rights reserved.