// Check if session is not registered , redirect back to main page. // Put this code in first line of web page.
Warning: session_start() [function.session-start]: Cannot send session cache limiter - headers already sent (output started at /home/dangmnne/public_html/hp/login_success.php:3) in /home/dangmnne/public_html/hp/login_success.php on line 4
Login Successful
the link is
http://www.dangmn.net/hp/login_success.php
the script is
// Check if session is not registered , redirect back to main page.
// Put this code in first line of web page.
<?
session_start();
if(!session_is_registered(myusername)){
header("location:main_login.php");
}
?>
<html>
<body>
Login Successful
</body>
</html>