bartb88 Posted May 27, 2006 Share Posted May 27, 2006 I've got a login script that when you refresh it, it adds the data a second time to the session varible. So when I sumbit I get $_SESSION[level] = 2 but upon refresh I'll get $_SESSION[level] = 22. How do I correct this? I'd like to clear the post data but I've spent hours trying it. Quote Link to comment https://forums.phpfreaks.com/topic/10601-sessions-and-post-data/ Share on other sites More sharing options...
bartb88 Posted May 27, 2006 Author Share Posted May 27, 2006 OMG.. I figured it out I used header('Location: [a href=\"http://localhost/success.php/');\" target=\"_blank\"]http://localhost/success.php/');[/a] Quote Link to comment https://forums.phpfreaks.com/topic/10601-sessions-and-post-data/#findComment-39543 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.