hi, i've run in a really odd problem. maybe someone experienced something simular? i have a few php scripts that all passing a number to a loader script. so all urls generated by my app look like this:
loader.php?sn=72f464a1c0263a3068906cb8607f7160 with that number i know which script to include and what else todo. for most action i have a script that changes something in the database and in the end uses a header("Location: $url/loader.php?sn=72f464a1c0263a3068906cb8607f7160"); to go to the 'view' script. that way. if the user presses F5 the same action isn't redone. only the view part will be re-executed. to clarify a bit: - the user clicks a link - the loader is executed (with the number the script includes a do_action script) - at the end of that do_action script the above mentioned header() call is done - second time the loader.php is executed (this time the sn leads to a view script) so on very rare circumstances i have the following problem that the loader.php says that there is no 'sn' number on the second run. --------------------- $sn = $_REQUEST['sn']; // check if we got a sn number with our url if (empty($sn)) create_error("blah"); --------------------- you see? there is no miracle in that code. and really sometimes the loader.php stops at that error. it happens to different links. same links work for 10.000 clicks. then out of nowhere it throws that error and it happens to different users. i'm sure it has something todo with the location header. the server gets a 302 and does a GET request to get the requested page. maybe it fails to append any previous parameters? i'm lost. any help appreciated. best regards -- Michael Kunze http://www.smrealms.de/ I'll tell you my real name! "It's P-Chan." That's right! -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php