This week's book giveaway is in the Design forum.
We're giving away four copies of Design for the Mind and have Victor S. Yocco on-line!
See this thread for details.
Win a copy of Design for the Mind this week in the Design forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

What is the best way to keep user session id or authentication data

 
Nakataa Kokuyo
Ranch Hand
Posts: 189
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Good day,

May i know what is the best way to keep user session id to validate user login and usage is valid.

Cookie , session or any other else ?

Thank you !
 
Ken Blair
Ranch Hand
Posts: 1078
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Often stored as a cookie.

I highly encourage you to look at a framework such as Apache Shiro or Spring Security to manage authentication.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic