potrebbe essere questo l'origine dei problemi?
ho trovato questo in un forum, in merito all'isset sessione:
"The check will allow you to keep your current session active even if it's a loop back submission application where you plan to reuse the form if data is typed incorrectly or have additional checks and balances within your program before proceeding to the next program."