=====
CS 328 - Week 13 Labs - 2026-04-23
=====
=====
TODAY WE WILL
=====
* announcements/prep for next class
* now available: hum_conn_sess.php
* review clicker questions
* Week 13 Lab Exercise
=====
* Be sure to submit Homework 10!
* deadline 11:59 pm on Friday, April 24
* WATCH for class e-mail when Homework 11 is available
* (with at-least-first-attempts due by 11:59 pm
on Friday, May 1)
=====
* IT IS PREREGISTRATION for SUMMER 2026/FALL 2026!
* preregistration for SUMMER 2026 is open NOW for
***EVERYONE***!!!
* preregistration for FALL 2026 begins at your
registration appointment in your student center
(sometime between April 13 - April 24)
=====
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