note 33413 deleted from function.session-start by bjori
| From: | bjori@php.net | Date: | Sun, 16 Apr 2006 00:19:38 +0000 |
| Subject: | note 33413 deleted from function.session-start by bjori | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-108204@lists.php.net to get a copy of this message | ||
Note Submitter: ma at technoprint dot ch
----
I solved the Problem that the session cookie isn't set in IIS5/CGI after redirect with a client
side redirect. Not very clean but it works. Like this:
<?
session_start();
$_SESSION["foo"] = "bar";
redirectJS( "proceed.php" );
function redirectJS( $uri ){?>
<script type="text/javascript">
<!--
document.location.href="<?php echo $uri ?>";
-->
</script><?
die();
}
?>