Scheduled Maintenance: We are aware of an issue with Google, AOL, and Yahoo services as email providers which are blocking new registrations. We are trying to fix the issue and we have several internal and external support tickets in process to resolve the issue. Please see: viewtopic.php?t=158230

 

 

 

php session_start

Programming languages, Coding, Executables, Package Creation, and Scripting.
Post Reply
Message
Author
User avatar
steveo314
Posts: 67
Joined: 2006-09-08 04:15

php session_start

#1 Post by steveo314 »

Has anyone ever had an issue were session variables quit working all of a sudden? No script changes.
Sid | Intel Pentium Dual-Core T2310 | Compaq Presario C714NR | 4 GB Ram

User avatar
debiman
Posts: 3063
Joined: 2013-03-12 07:18

Re: php session_start

#2 Post by debiman »

Imageinformation.

User avatar
steveo314
Posts: 67
Joined: 2006-09-08 04:15

Re: php session_start

#3 Post by steveo314 »

debiman wrote:Imageinformation.
sorry... I thought my session wasn't staying active and the the @_SESSION was empty on the session_start() of each .php
I'm actually get this now:
'session_status() == PHP_SESSION_ACTIVE' is true
'headers already sent'
Sid | Intel Pentium Dual-Core T2310 | Compaq Presario C714NR | 4 GB Ram

TonyT
Posts: 575
Joined: 2006-09-04 11:57

Re: php session_start

#4 Post by TonyT »

<?php
// Template name: My Template
?>
empty line here will cause headers to be sent
<?php
session_start();
?>

Post Reply