Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Help!Help!Help!Help!Help!


ShoppingMantra

Recommended Posts

Posted

: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

Posted

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

Posted
: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

Posted
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

Posted

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

Posted

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

Posted

The Login and Logoff function is part of the default osCommerce includes/header.php file.

 

Vger

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...