You are here: Re: Can't read $_SESSION variables set by previous request, AJAX « All PHP « IT news, forums, messages
Re: Can't read $_SESSION variables set by previous request, AJAX

Posted by Jerry Stuckle on 02/19/07 01:37

Evil Otto wrote:
> I removed the ?> and <?php tags from where you saw the whitespace, so
> there's no extraneous whitespace. Had no effect on the problem I'm
> seeing; the third request still cannot see changes to the $_SESSION
> variable made by the second.
>
> On Feb 18, 3:24 pm, Kimmo Laine <s...@outolempi.net> wrote:
>> Evil Otto kirjoitti:
>>
>>> There's no output going to the browser before session_start(). The
>>> top of my script looks like this:
>>> --quote
>>> <?php
>>> error_reporting(E_ALL);
>>> ini_set("display_errors","1");
>>> ?>
>> Output starts here cos you have a gap between two php tags. It's the
>> whitespace effect.
>>
>>> <?php
>> >
>>
>> --
>> "En ole paha ihminen, mutta omenat ovat elinkeinoni." -Perttu Sirviö
>> s...@outolempi.net | Gedoon-S @ IRCnet | rot13(x...@bhgbyrzcv.arg)
>
>

And can you be sure that *NOTHING* in your include.php file generates
output - including leading or trailing blanks, newline characters, etc.?

What do you get for error messages?

--
==================
Remove the "x" from my email address
Jerry Stuckle
JDS Computer Training Corp.
jstucklex@attglobal.net
==================

 

Navigation:

[Reply to this 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

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