I'm trying to understand how I would implement the post/redirect/get pattern if my handler page where everything is $_POST'd to requires session data (checking if the user is logged in, lets say)
I can't call: header("Location /somenewplace", 303);
because I'd get a 'Cannot modify headers' error, as I've already called session_start() to get the session data.
Can someone help me understand this pattern a bit better, should your handler require interacting with session data?
Thank you,