|
Posted by Robert Cummings on 12/16/05 17:18
On Fri, 2005-12-16 at 06:59, Karlos Zafra wrote:
> 2005/12/10, Robert Cummings <robert@interjinn.com>:
>
> I've tried this in my server and had no problem.
>
> <?php
> session_start();
>
> $_SESSION['string']="foobar";
> header("location:print_string.php");
> ?>
>
> <?php
>
> session_start();
>
> echo "String = {$_SESSION['string']}";
> ?>
>
> This page prints:
>
> String = foobar
>
> I can't see the wrong behaviour.
Are you referring you your use of a local path when using the location
header?? If so, I clearly stated in a previous post in this thread that
many browsers tolerate it, but that it isn't standards compliant.
Cheers,
Rob.
--
..------------------------------------------------------------.
| InterJinn Application Framework - http://www.interjinn.com |
:------------------------------------------------------------:
| An application and templating framework for PHP. Boasting |
| a powerful, scalable system for accessing system services |
| such as forms, properties, sessions, and caches. InterJinn |
| also provides an extremely flexible architecture for |
| creating re-usable components quickly and easily. |
`------------------------------------------------------------'
[Back to original message]
|