ryanabury / CMPSC431W_SP17_Project

A database-run website/application for CMPSC 431W.
3 stars 1 forks source link

Add sessions or cookies #95

Closed c-dougherty closed 7 years ago

c-dougherty commented 7 years ago

In order to transfer information between jsp pages, we can use sessions or cookies.

c-dougherty commented 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).

c-dougherty commented 7 years ago

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.