I checked whether the error in Javascript and other think so but i couldn't catch it. I have been created the simple page with Jscript. Its work nice. But without session creation the page is working. It seems the error occurs in session in my php.
This source code working under php4 version fine. But in the php5 doesn't work.
Expand|Select|Wrap|Line Numbers
- if(isset($_POST['submit']))
- {
- session_start();
- $_SESSION['id'] = 'AAAA';
- echo "The Session Value is = $id <br></br>";
- } else {
- echo "<br> <br> Retrieve No Submitted";
- }
- ?>
- <form name = "form" method = "POST" action = "sess.php">
- <input id="submit" name="submit" type="submit" value="Session" />
- <br><br>