Session('pid') - BEFORE processing:
need to redirect to main page...we have no pid to work with (either actual value or session value)