===== CS 328 - Week 13 Labs - 2025-04-24/25 ===== ===== TODAY WE WILL ===== * announcements/prep for next class * now available: hum_conn_sess.php * review clicker questions * Week 13 Lab Exercise ===== * SHOULD be finished or well-underway on Homework 10 * at-least-first attempts due by 11:59 pm Friday, April 25 * WATCH for class e-mail when Homework 11 is available * (with at-least-first-attempts due by 11:59 pm on Friday, May 2) ===== * register for FALL 2025 courses NOW if you have not yet! * register for SUMMER 2025 courses NOW if interested! ===== ===== hum_conn_sess.php ===== * ...what if you are using OCI and sessions? * failure to connect to the database MIGHT mean you'd like to destroy the current session * hum_conn_sess.php contains function hum_conn_sess, which is like hum_conn_no_login except that: * it calls session_destroy() before calling exit * also includes a link to the calling PHP before it exits, in case that might be helpful...? * can get a copy on nrs-projects using: cp ~st10/hum_conn_sess.php . # remember the space and dot! * a syntax-colored display version will also be posted with today's lab exercise