Hi,
Thank you for this and all your other excellent contributions. I realise this thread is meant to support installation of the contribution and not for answers to individual errors reported but I'd very much appreciate a quick yes/no (maybe even a why) to a question I have relating to errors found. I posed the question in the General Support section, maybe it's badly worded or too boring/trivial/obvious but there were no takers.
The question in a nutshell - Is there any reason to not replace the tep_session_unregister statements (and the subsequent errors they sometimes cause) in logoff.php with a single tep_session_destroy? To my untrained mind session_destroy belongs in a logoff script.
Thanks
ORIGINAL QUESTION
In logoff.php, I have a number of "tep_session_unregister()" statements. Quite often the statements are trying to unregister variables that are not registered which causes 'Undefined index' errors (the variables may be registered so they can't be just removed).
Rather than precede each call with "if (tep_session_is_registered())", is it possible to replace all of them with a "tep_session_destroy();"?
Sorry if this question is a bit simple or naive but "logoff" and "session_destroy" seems to be an obvious partnership and I don't know it there is a good reason for it not being so. I'd very much appreciate comment/opinion.