View Single Post
Old 07-10-2012, 10:17 PM   PM User | #12
Keleth
Senior Coder

 
Join Date: Jun 2008
Location: New Jersey
Posts: 2,354
Thanks: 45
Thanked 247 Times in 244 Posts
Keleth is on a distinguished road
Well, of course on a refresh that second page will fail.... you're searching for a number of POST variables that don't exist, and thus storing nothing into a bunch of session variables you had previously put values into, overwriting them with blank (I forget if its NULL or an empty array).

Think about it... the first time you're there, that code stores POST values that exist into a session. When you refresh, and the POST values no longer exist, you're STILL trying to store values into the SESSION, which is the same as if you had tried to echo the POST variables themselves.
Keleth is offline   Reply With Quote