Re: simple-ish question but something i never knew

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Fri, 2005-12-16 at 06:59, Karlos Zafra wrote:
> 2005/12/10, Robert Cummings <robert@xxxxxxxxxxxxx>:
>
> 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.          |
`------------------------------------------------------------'

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux