[Vtigercrm-commits] [vtiger-commits] r7697 - /customerportal/trunk/login.php
vtigercrm-commits at vtiger.fosslabs.com
vtigercrm-commits at vtiger.fosslabs.com
Fri Jun 30 04:13:03 EDT 2006
Author: saraj
Date: Fri Jun 30 02:13:00 2006
New Revision: 7697
Log:
* Added code to redirect the customer to index when he click on browser back after login
Modified:
customerportal/trunk/login.php
Modified: customerportal/trunk/login.php
==============================================================================
--- customerportal/trunk/login.php (original)
+++ customerportal/trunk/login.php Fri Jun 30 02:13:00 2006
@@ -11,6 +11,12 @@
require_once("language/en_us.lang.php");
+ at session_start();
+if(isset($_SESSION['customer_id']) && isset($_SESSION['customer_name']))
+{
+ header("Location: index.php?action=index&module=Tickets");
+ exit;
+}
if($_REQUEST['close_window'] == 'true')
{
?>
More information about the vtigercrm-commits
mailing list