ShoppingMantra Posted February 23, 2006 Posted February 23, 2006 :blush: Hi,customer is not able to log-out ,user can log in only but not able to log-out.Kindly mail in detail how to enable this function. My ftp has the logoff.php file but the function doesn't work
♥Vger Posted February 23, 2006 Posted February 23, 2006 Sounds like you have installed a template which corrupts the logout function. Or, you are storing sessions in files and not in the database. Sessions only expire if stored in the database, so edit the last line of both configure.php files to read 'mysql' where indicated. Vger
ShoppingMantra Posted February 23, 2006 Author Posted February 23, 2006 :blush: Hi,customer is not able to log-out ,user can log in only but not able to log-out.Kindly mail in detail how to enable this function.My ftp has the logoff.php file but the function doesn't work Hi, Thanks alot for prompt solution but I'm able to find only one configure.php file in includes/.Please help me to find the another one. In first file I've done the editing as you instructed:- define('USE_PCONNECT', 'false'); // use persistent connections? define('STORE_SESSIONS', 'mysql'); // leave empty '' for default handler or set to 'mysql' Please reply
ShoppingMantra Posted February 23, 2006 Author Posted February 23, 2006 Hi,Thanks alot for prompt solution but I'm able to find only one configure.php file in includes/.Please help me to find the another one. In first file I've done the editing as you instructed:- define('USE_PCONNECT', 'false'); // use persistent connections? define('STORE_SESSIONS', 'mysql'); // leave empty '' for default handler or set to 'mysql' Please reply Nothing is happening in the right way ?If anyone knows about this problem please reply
♥Vger Posted February 23, 2006 Posted February 23, 2006 The second file is in admin/includes/, but the one in includes/ is the important one for storing customer sessions. Did you add a template to your site? Have you added a contribution such as PWA (Purchase Without Account)? Vger
ShoppingMantra Posted February 24, 2006 Author Posted February 24, 2006 Hi, Thanks for the help. I didn't add any pages.I done the logout function but it works only for index page and if user goes to any other page then the header shows the Login option only,but it should be changed in LogOff if user is already logged in. I done this feature for Index page but it doesn't apply to all pages. Kindly tell that which more pages are there which have to be changed. Thanks
♥Vger Posted February 24, 2006 Posted February 24, 2006 The Login and Logoff function is part of the default osCommerce includes/header.php file. Vger
Recommended Posts
Archived
This topic is now archived and is closed to further replies.