View Full Version : session or cookie, which is more secure ?
08-31-2006, 10:25 AM
session or cookie, which is more secure ?
08-31-2006, 11:07 AM
Use both is better, but i normal use $_SESSION
08-31-2006, 11:10 AM
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, 02: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, 02:53 PM
summed up in by marek :)
08-31-2006, 06: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, 09: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.