I'm not positive but it's either a Get or a Post. I'm doing a Mod on an ecommerce package and there's code everywhere. But I do see a lot of Get and Post sessions throughout.
I tried the other type of redirect but it throws:
"Cannot modify header information - headers already sent by ..."
I also tried echo "<meta http-equiv=\"refresh\" content=\"0;URL=orderform.
but that threw: Parse error: syntax error, unexpected '"', expecting T_STRING or T_VARIABLE or T_NUM_STRING
Although, it did have the right cartID in the URL. I just don't know if that's the right Session for all the data.
Best,
MH
Main Topics
Browse All Topics





by: kevin_uPosted on 2009-07-29 at 17:36:44ID: 24975861
As long as its in the same domain, and cookies are enabled, the session should not be killed. If the session is being run through a session variable on the GET or POST instead of a cookie, then the session will be killed unles you pass the sessionid in the get or post.
2008/02/ph p-redirect -tutorial. html
Do you know what kind of session is being setup?
You can look here for alternative redirects that may work better for you... especially the first one: http://blog.codebeach.com/
if ( ($data[1] < 60) || ($data[1] > 63))
{
header("location: orderform.php");
die();
}