| | |
problem with session_start
Please support our PHP advertiser: PostgreSQL or MySQL? Compare and contrast the two most popular open source databases
![]() |
•
•
Join Date: Feb 2007
Posts: 13
Reputation:
Solved Threads: 0
Hi
I have a problem with session_start when I click Back key in browser:
First I Run Az1.php then I press the "ok" key and I go to az2.php then I click "az3" Link
and I go to az3.php but when I click Back in my browser for back to az2.php I recive
"The page cannot be displayed" message.
*****************************
Az1.php :
<html>
<body>
<form action=az2.php method=post>
<input type=submit value=ok>
</form>
</body>
</html>
*****************************
Az2.php :
<?php
session_start();
echo "<a href=az3.php>az3</a>";
?>
*****************************
Az3.php :
<?php
echo "hello";
?>
*****************************
I have a problem with session_start when I click Back key in browser:
First I Run Az1.php then I press the "ok" key and I go to az2.php then I click "az3" Link
and I go to az3.php but when I click Back in my browser for back to az2.php I recive
"The page cannot be displayed" message.
*****************************
Az1.php :
<html>
<body>
<form action=az2.php method=post>
<input type=submit value=ok>
</form>
</body>
</html>
*****************************
Az2.php :
<?php
session_start();
echo "<a href=az3.php>az3</a>";
?>
*****************************
Az3.php :
<?php
echo "hello";
?>
*****************************
Probably because you submitted a form and Az2 was the results page. It will usualy come up and ask if you want to re-submit the form when yuo click the back button, but it will not re-display the result from a submitted form.
![]() |
Similar Threads
- session_start(): Cannot send session cookie - headers already sent by (PHP)
- Warning: session_start(): Cannot send session cache limiter - headers already sent (PHP)
- ASP.NET - session objects Problem (ASP.NET)
- session_start(): Cannot send session cache limiter - (PHP)
- How can fix the problem? (JavaScript / DHTML / AJAX)
- $_SESSION and session.auto_start do not store data (PHP)
Other Threads in the PHP Forum
- Previous Thread: How to use HTML tags in PHP
- Next Thread: embed javascript in php
| Thread Tools | Search this Thread |
Tag cloud for PHP
.htaccess access ajax apache api array back beginner binary broken cakephp checkbox class cms code cron curl database date directory display download dynamic echo email error file files filter folder form forms function functions gc_maxlifetime google host href htaccess html image include insert integration ip java javascript joomla limit link login loop mail memmory memory menu mlm mod_rewrite multiple mysql navigation oop parse parsing paypal pdf php problem query radio random recursion regex remote script search server sessions sms snippet soap source space sql structure syntax system table thesishelp tutorial update upload url validation validator variable video web xml youtube





