Reply to Re: [PHP] simple-ish question but something i never knew

Your name:

Reply:


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]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация