Click here to Skip to main content
15,997,667 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
I am creating simple website. With the help of w3wchools website i developed some session handling scripts . that scripts are working well on my localhost. But its not working in uploaded server sometimes. Yesterday its worked in server. But its not working. after some time its working..

File 1
PHP
<?php
session_start();
$_SESSION["username"]="suyambu";
?>


file 2

PHP
<?php
session_start();
echo $_SESSION["username"];
?>


after i visit the file 1 i visited 2nd page..but no output.. :(

Please help me
Posted

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900