Jump to content

Sessions being destroyed???...help needed!


TRB

Recommended Posts

This code is for a login page that is now never popping up. We never had a problem with this until the last week or so?

It instead shows as a blank page.

 

<?php

session_cache_limiter('private, must-revalidate');

session_start();

define('PEAR_DB_PATH','/home/cust1/user1079862/html/oss/lib/PEAR/DB.php');

require_once '/home/cust1/user1079862/html/oss/lib/userValidator.class.php';

$authClass=new userValidator(48);

$authClass->validateRequest();

?>

 

The error messages are:

Warning: session_start(): Cannot send session cache limiter - headers already sent (output started at /home/cust1/user1079862/html/test2.php:2) in /home/cust1/user1079862/html/test2.php on line 4

 

Link to comment
https://forums.phpfreaks.com/topic/90459-sessions-being-destroyedhelp-needed/
Share on other sites

Sorry here it is.

 

<?php

session_cache_limiter('private, must-revalidate');

session_start();

define('PEAR_DB_PATH','/home/cust1/user1079862/html/oss/lib/PEAR/DB.php');

require_once '/home/cust1/user1079862/html/oss/lib/userValidator.class.php';

$authClass=new userValidator(48);

$authClass->validateRequest();

?>

<html>

<body>

test123

</body>

</html>

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.