No, it's running on a FreeBSD server.  I don't suppose it could have to do
with the firewall or browser security settings on my machine, though ...
could it?  I can verify that the session file is being written to the
server's tmp directory... I'm stumped.

--
Matt Grimm
Web Developer
The Health TV Channel, Inc.
(a non - profit organization)
3820 Lake Otis Parkway
Anchorage, AK 99508
907.770.6200 ext. 686
907.336.6205 (fax)
E-mail: [EMAIL PROTECTED]
Web: www.healthtvchannel.org

<[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
> Matt,
>
> You're not by any chance using an Apache server on a machine that also has
a firewall,
> are you? I've had all sorts of mysterious session-related problems when
running scripts
> on my test server (Apache on Win2k with a ZoneAlarm firewall). Took me
*ages* to zero
> in on the source of the problem. Now whenever I need to test a script that
involves
> sessions, I simply disconnect from the internet and shut down my firewall.
>
> Cheers,
>
> Erik
>
>
> On 16 Jan 2004 at 16:32, Matt Grimm wrote:
>
> > Can anyone think of ways I can troubleshoot this problem?  I still
haven't
> > found a solution.
> >
> > > I'm using non-cookie-based sessions for authentication on a page.  The
> > > session is set like so, which works (these values, along with the SID,
are
> > > always retrievable):
> > >
> > > $_SESSION['user'] = $_POST['UserName'];
> > > $_SESSION['time'] = time();
> > >
> > > My problem is when I get to the protected site area, in which a header
> > > script calls session_start() at the top (first line).  Seemingly
randomly,
> > > while navigating links within this area, I get blank white pages.  If
I
> > > comment out the session_start() line, it doesn't happen.  If I spit
out
> > the
> > > session variables in the resulting page, they are echoed, but that's
it -- 
> > > it's a blank white page otherwise.
> > >
> > > The apache error log is silent, and the access log is normal.  No php
> > errors
> > > are displayed or written to the log.  Here's the real kicker -- if I
> > refresh
> > > the page, it loads correctly.  What is going on?
> > >
> > > Thank you,
> > > --
> > > Matt Grimm
> > > Web Developer
> > > The Health TV Channel, Inc.
> > > (a non - profit organization)
> > > 3820 Lake Otis Parkway
> > > Anchorage, AK 99508
> > > 907.770.6200 ext. 686
> > > 907.336.6205 (fax)
> > > E-mail: [EMAIL PROTECTED]
> > > Web: www.healthtvchannel.org
> >
> > -- 
> > PHP General Mailing List (http://www.php.net/)
> > To unsubscribe, visit: http://www.php.net/unsub.php

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

Reply via email to