Session is not initializing
Question:
I can't get PHP session working on one of the windows servers.
on login page i have added the following code
Inside pages i tried
Have you come across this problem before? Please help.
Answers:
Did you check your PHP.ini session configuration? You need to check whether session is set to be enabled in PHP.ini file.
I can't get PHP session working on one of the windows servers.
on login page i have added the following code
| Code: |
| <?php session_start();
$loggedin=True; Session_regiser("loggedin"); ?> |
Inside pages i tried
| Code: |
| <?
echo "Logged Status:".$_SESSION['loggedin']; ?> |
Have you come across this problem before? Please help.
Answers:
Did you check your PHP.ini session configuration? You need to check whether session is set to be enabled in PHP.ini file.
Commentaires
Enregistrer un commentaire