jd2007 Posted July 16, 2007 Share Posted July 16, 2007 Is it ok to use only sessions instead of cookies ? Link to comment https://forums.phpfreaks.com/topic/60185-is-it-ok-to-use-only-sessions-instead-of-cookies/ Share on other sites More sharing options...
ToonMariner Posted July 16, 2007 Share Posted July 16, 2007 yep. cookies still need to be enabled for sessions to work but they are more secure than client side cookies - values can only be altered server side. Link to comment https://forums.phpfreaks.com/topic/60185-is-it-ok-to-use-only-sessions-instead-of-cookies/#findComment-299391 Share on other sites More sharing options...
sushant_d84 Posted July 16, 2007 Share Posted July 16, 2007 YES Link to comment https://forums.phpfreaks.com/topic/60185-is-it-ok-to-use-only-sessions-instead-of-cookies/#findComment-299395 Share on other sites More sharing options...
rameshfaj Posted July 16, 2007 Share Posted July 16, 2007 I think cookies are also good.But sessions can alone also handle many tasks. But it is better to practice cookies enabling and setting in ur code. Link to comment https://forums.phpfreaks.com/topic/60185-is-it-ok-to-use-only-sessions-instead-of-cookies/#findComment-299410 Share on other sites More sharing options...
ToonMariner Posted July 16, 2007 Share Posted July 16, 2007 No it isn't! Well it depends on what level of security you want - sessions are 'higher' than cookies as (clientside) cookies are stored on the users machine and the user can go in and alter values - they can't do that with sessions. Link to comment https://forums.phpfreaks.com/topic/60185-is-it-ok-to-use-only-sessions-instead-of-cookies/#findComment-299453 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.