ManicMax Posted August 12, 2007 Share Posted August 12, 2007 Is it using sessions or cookies for a user login system? Any help appriciated Quote Link to comment https://forums.phpfreaks.com/topic/64540-which-is-better-and-more-secure/ Share on other sites More sharing options...
Wuhtzu Posted August 12, 2007 Share Posted August 12, 2007 The short answer is session Quote Link to comment https://forums.phpfreaks.com/topic/64540-which-is-better-and-more-secure/#findComment-321705 Share on other sites More sharing options...
chocopi Posted August 12, 2007 Share Posted August 12, 2007 check out these links on Google EDIT: I havent checked them out myself but they must have something useful. Quote Link to comment https://forums.phpfreaks.com/topic/64540-which-is-better-and-more-secure/#findComment-321709 Share on other sites More sharing options...
plutomed Posted August 12, 2007 Share Posted August 12, 2007 You only need to use cookies if you need to get the data back after you have gone to a different page without using post or get or your session has expired, eg you should use cookies for a remember me feature on a longin system Quote Link to comment https://forums.phpfreaks.com/topic/64540-which-is-better-and-more-secure/#findComment-321713 Share on other sites More sharing options...
nloding Posted August 12, 2007 Share Posted August 12, 2007 Use both -- cookies provide a "Remember me" function to the site and you can dictate how long that time period is. Sessions also use cookies to store the session ID, so a cookie is already created -- take advantage. Quote Link to comment https://forums.phpfreaks.com/topic/64540-which-is-better-and-more-secure/#findComment-321746 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.