It sounds like it's keeping the sessions.. did you do this:
OPEN AND MAKE CHANGES IN THIS FILE: /catalog/checkout_success.php
find
tep_redirect(tep_href_link(FILENAME_DEFAULT, $notify_string, 'SSL'));
and replace with
// Added a check for a Guest checkout and cleared the session - 030411
if (tep_session_is_registered('noaccount')) {
tep_session_destroy();
tep_redirect(tep_href_link(FILENAME_DEFAULT, '', 'NONSSL'));
}
else {
tep_redirect(tep_href_link(FILENAME_DEFAULT, $notify_string, 'SSL'));
}
That will delete the session if its a guest
-Dennis[/code]
Having some problems with the code.
In account_succes the"tep_redirect(tep_href_link(FILENAME_DEFAULT, $notify_string, 'SSL'));" dont exist, however there is a simular string "tep_redirect(tep_href_link(FILENAME_DEFAULT, $notify_string));
" so i replace that with "// Added a check for a Guest checkout and cleared the session - 030411
if (tep_session_is_registered('noaccount')) {
tep_session_destroy();
tep_redirect(tep_href_link(FILENAME_DEFAULT, '', 'NONSSL'));
}
else {
tep_redirect(tep_href_link(FILENAME_DEFAULT, $notify_string, 'SSL'));"
When i do this a get a error message = unexpected $ in line 163
Any ideas? I get the script to work but i doesnt work when the time comes to kill the session.
Cheers m8!