I think your problem is the fact that when you alter the cookie the change is only available to the next page after the one that toys with it.
It's like when you set cookie originally, how it isn't visible to the page that set it.
The fix is redirect to a different page (a blank one, or one with only one character like these forums do), then bounce the person back to the page you want them to be at.
Hopefully that will fix your problem...I think. But I may be misunderstanding your problem.
Note: To transfer the form data inside the redirect, you'll need to play with the final redirection url, but you'll need to be creative else the data will be available in GET and not POST.