Tokens and Resubmissions
<p>I've looked at several questions on here and can't seem to find what I'm looking for.</p>

<p>I have a program that creates a hidden token field to check if the user actually sent it from that page which was nice but now I found out that each page that it creates a token it makes the last page only valid. I'm not opting for a one token created per session, and I have a header 303 without replace eg:</p>

<pre><code>header("Location: " . $_SERVER['PHP_SELF'], false, 303);
</code></pre>

<p>When this code runs I see the header works with refresh I don't get the 'resubmit data?' and I have data being echoed after the header and it appears that it doesn't echo it.</p>

<p>I like the per page works nicely with postback data but only for the last page requested and for the per session w/303 the repost/token works but it won't echo the data after the header. Or is there some other way to allow tokens and disable resubmit data and be able to echo the data I need the user to see?</p>

<p>If you need some sample code I'll be glad to edit this post.</p>
