Author | Message |
---|---|
savanes5
Posts: 8
|
Posted 13:16 Mar 20, 2014 |
I currently have the course plans saving into the database, but I was wondering if I can load the saved course plans from the database into the session scope once a user clicks on "Saved Course Plans" from the main page? |
redge
Posts: 31
|
Posted 13:19 Mar 20, 2014 |
You certainly can. The trick of course is that the user needs to be logged in for that to be an option. When the user logs in, make sure their username is stored in the session scope. Then when they click the "saved course plans" link, you can can use JDBC to load the saved course plan info tied to their username from your database into session scope. |