Location: PHPKode > projects > ERPSOD > erpsod/user_init.php
<?PHP
$form1=$_GET["form"];
$action=$_POST["command"];
$id=$_POST["userlist"] ;
session_start(); // This connects to the existing session 
session_register ("suser"); 
session_register ("saction");
session_register ("sform"); 
$_SESSION["suser"] = $id;
$_SESSION["saction"] = $action;
$_SESSION["sform"] = $form1;
if ($form1=="user_list2"){
	header("Location: user_edit2.php");
}else{
	header("Location: user_edit.php");
}
Return current item: ERPSOD