The session_start() is at the top of the page. From what I understand the sesion variables are set from the login. I can echo their values and they are ok unitl the redirect.
They were working fine until I changed replaced with the two insert/update using DataAssist. I also just ran a test with selecting the pass querystring option on the update server behaviour and it did not help.