function _AdvisingScreen::clear_variables
Search API
4.x _AdvisingScreen.php | _AdvisingScreen::clear_variables() |
5.x _AdvisingScreen.php | _AdvisingScreen::clear_variables() |
Clear the session varibles.
File
- classes/
_AdvisingScreen.php, line 387
Class
Code
function clear_variables()
{
// Clear the session variables.
$csid = $_REQUEST ["current_student_id"];
$_SESSION ["advising_student_id$csid"] = "";
$_SESSION ["advising_student_id"] = "";
$_SESSION ["advising_major_code$csid"] = "";
$_SESSION ["advising_track_code$csid"] = "";
$_SESSION ["advising_track_degree_ids$csid"] = "";
$_SESSION ["advising_term_id$csid"] = "";
$_SESSION ["advising_what_if$csid"] = "";
$_SESSION ["what_if_major_code$csid"] = "";
$_SESSION ["cache_f_p$csid"] = "";
$_SESSION ["cache_what_if$csid"] = "";
}