Closed c-dougherty closed 7 years ago
Let's use cookies because it's more secure (or so I've read). And I've gotten cookies to work to some degree already (I've gotten them working when set in a JSP, but not when set in a servlet).
Using session instead of cookies because browsers may not support cookies and because sessions are just as easy to use as cookies. Also, sessions are more geared towards the purpose of tracking whether a user is logged in or not.
In order to transfer information between jsp pages, we can use sessions or cookies.