[PHP] Trans sid and form posts

2001-02-21 Thread Shawn Esplin
Can anyone tell me if trans sid is supposed to work through form posts, and if so how to make it work right? It is working fine through normal links, but we have quite a few posts, and they lose the session. :( Thanks, Shawn -- PHP General Mailing List (http://www.php.net/) To unsubscr

RE: [PHP] Tough one?

2001-02-21 Thread Shawn Esplin
I'm not sure this is the best way to do it, but you could try: $keys = array_keys($HTTP_POST_VARS); for($x = 2; $x < (count($keys) - 1); $x++) { $updateString=$updateString.$keys[$x]."='".$HTTP_POST_VARS[$keys[$x]]."',"; } $x++; $updateString=$updateString.$keys[$x]."='".$HTTP_POST_VARS[$keys[$