note 36016 added to function.setcookie

From: Date: Tue, 23 Sep 2003 05:25:47 +0000
Subject: note 36016 added to function.setcookie
Groups: php.notes 
Request: Send a blank email to php-notes+get-56934@lists.php.net to get a copy of this message
in response to soreman at abv dot bg 11-Apr-2003 03:26 (i'm glad i didn't waste time wondering why setcookie stopped working when i switched from apache) to get around that iis problem, i changed from Header("Location: $WEB_ROOT/index.php"); to header("Refresh: 0; URL=$WEB_ROOT/index.php"); worked like a charm. ( inspred by nalenb's comment at http://e107.org/comment.php?298 - got the proper syntax from http://www.desilva.biz/php/phprefresh.html ) ---- Manual Page -- http://www.php.net/manual/en/function.setcookie.php Edit Note -- http://master.php.net/manage/user-notes.php?action=edit+36016 Delete Note -- http://master.php.net/manage/user-notes.php?action=delete+36016&report=yes Reject Note -- http://master.php.net/manage/user-notes.php?action=reject+36016&report=yes

« previous php.notes (#56934) next »