When doing login forms and authentication, which is preferred? Sessions or Cookies? Safer? Easier?
Sessions or Cookies?
Whether you're a seasoned veteran or a struggling beginner, Web Radiance is the web development and web design forum for you. You'll find answers to all your HTML, CSS, SEO, and Programming needs. Pull up a chair and stay awhile.
Page 1 of 1
Sessions or Cookies?
#2
Posted 14 January 2009 - 09:02 AM
For me its sessions.
#3
Posted 14 January 2009 - 12:20 PM
sessions, cookies can be changed very easily by the user
#4
Posted 19 February 2009 - 12:37 AM
Sessions would be better unless the user asks for "remember me on this computer" thing which needs to be handled with cookies.
#5
Posted 24 February 2009 - 03:37 AM
nobody is discussing server load. Both are equally good in their own application.
Having thousands of "sessions" can take a hit on the server. Cookies would be better for a long term usage.
Having thousands of "sessions" can take a hit on the server. Cookies would be better for a long term usage.
#6
Posted 02 March 2011 - 09:48 PM
isn't it better if you use both..? cookies for the user not to log-in again and again.. sessions for you to keep a record of the user's log-in information..
Share this topic:
Page 1 of 1


Help
This topic is locked

MultiQuote












