php session_start

Need help with C, C++, perl, python, etc?

php session_start

Postby steveo314 » 2017-09-21 16:51

Has anyone ever had an issue were session variables quit working all of a sudden? No script changes.
"Debian....The Universal Operating System"
User avatar
steveo314
 
Posts: 65
Joined: 2006-09-08 04:15

Re: php session_start

Postby debiman » 2017-09-21 18:45

Imageinformation.
User avatar
debiman
 
Posts: 1511
Joined: 2013-03-12 07:18

Re: php session_start

Postby steveo314 » 2017-09-21 19:39

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'
"Debian....The Universal Operating System"
User avatar
steveo314
 
Posts: 65
Joined: 2006-09-08 04:15

Re: php session_start

Postby TonyT » 2017-09-27 20:07

<?php
// Template name: My Template
?>
empty line here will cause headers to be sent
<?php
session_start();
?>
TonyT
 
Posts: 525
Joined: 2006-09-04 11:57


Return to Programming

Who is online

Users browsing this forum: No registered users and 3 guests

fashionable