Jump to content

Archived

This topic is now archived and is closed to further replies.

bartb88

Sessions and Post Data

Recommended Posts

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.

Share this post


Link to post
Share on other sites
OMG.. I figured it out I used header('Location: [a href=\"http://localhost/success.php/');\" target=\"_blank\"]http://localhost/success.php/');[/a]

Share this post


Link to post
Share on other sites

×

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.