Reply to Re: Site disappears in IE 6

Your name:

Reply:


Posted by rf on 06/25/07 20:40

"gregerly" <greg.goforth@gmail.com> wrote in message
news:1182793770.548537.200140@z28g2000prd.googlegroups.com...
> On Jun 25, 2:40 am, "rf" <r...@invalid.com> wrote:
>> "gregerly" <greg.gofo...@gmail.com> wrote in message
>>
>>
>> Is your session processing stuffing up with your [assumed] browser
>> sniffing
>> for IE6? Perhaps you are outputting stuff before the headers can be
>> generated, thus causing a PHP error that you cannot see. Try looking at
>> your
>> server error logs.
>>
>> Try removing all session stuff and see what happens. You don't need it
>> anyway. And if you do then, why?
>>
>> --
>> Richard.
>
> Richard,
>
> As it turns out, it was the session_start(); I have at the beginning
> of all these pages.

I always check for the session cookie first:

if (isset($_COOKIE['PHPSESSID']))
{
session_start();

That is, unless "admin" is in the process of logging in, when I force a
session cookie on the user.

Remember, some users disable all cookies, even session cookies.

--
Richard.

[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

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