Lines 959-966
sub checkauth {
Link Here
|
959 |
} |
959 |
} |
960 |
|
960 |
|
961 |
unless ( $userid ) { |
961 |
unless ( $userid ) { |
962 |
#we initiate a session prior to checking for a username to allow for anonymous sessions... |
962 |
if( !$session or !$sessionID ) { # if we cleared sessionID, we need a new session |
963 |
$session ||= get_session("") or die "Auth ERROR: Cannot get_session()"; |
963 |
$session = get_session() or die "Auth ERROR: Cannot get_session()"; |
|
|
964 |
} |
964 |
|
965 |
|
965 |
# Save anonymous search history in new session so it can be retrieved |
966 |
# Save anonymous search history in new session so it can be retrieved |
966 |
# by get_template_and_user to store it in user's search history after |
967 |
# by get_template_and_user to store it in user's search history after |
967 |
- |
|
|