A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
Win a copy of
OCA/OCP Java SE 7 Programmer I & II Study Guide
this week in the
Java in General
What is the best way to keep user session id or authentication data
Joined: Jul 24, 2011
Jan 19, 2012 08:50:04
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 !
Joined: Jul 15, 2003
Jan 19, 2012 16:27:43
Often stored as a cookie.
I highly encourage you to look at a framework such as Apache Shiro or Spring Security to manage authentication.
I agree. Here's the link:
subject: What is the best way to keep user session id or authentication data
session in Strut2
Disabling a previous session in a web app
Session time is not reseting
Session cookies - can they be changed at the client side
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2014