by ionfish · 17y ago · 0 comments
When you talk about using "the PHP function header()", I presume that you intend to use it to issue an HTTP redirect response. Think about what you're doing: HTTP is stateless, but you want to preserve state across page requests (the privacy page is a different resource to the contact form, as your uneasiness about not changing URIs shows you're aware). The place to do this, generally speaking, is in the session.
Naturally I'm using a session variable. But the URL mismatch remains.