OXID Community Forum> Save cart into cookies or database, if the user is not logged in |
Login |
| FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
| Reply |
|
|
Thread Tools | Display Modes |
|
Hi!
I want to keep cookies for the baskets a few days. I am using the parameters in the file ini.php: session.cookie_lifetime 864000 session.gc_maxlifetime 172800 session.use_cookies On On session.use_only_cookies Off session.use_trans_sid 1 When I put the product to cart, I have cookies "sid" and "sid_key". Cookie "sid_key" disappears, if you close your browser. And the basket disappears too, if the user is not logged in. I look at the file oxbasket.php. Functions: PHP Code:
PHP Code:
Thank you! |
|||
|
Hi, friends!
I did it. I have for a lifetime of cookies sid_key: File oxsession.php: PHP Code:
P.S.This is my experiment! This is not a recommendation! |
|||
|
Thanks for letting us know!
__________________
Marco http://about.me/marco.steinhaeuser Will ignore unsolicited support requests via PM, email or IM. |
||||
| Reply |
| Bookmarks |
| Tags |
| cart, cookies, database, logged, save, user |
| Thread Tools | |
| Display Modes | |
|
Nicht Sichtbar
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Logging in to a user account with the user's eMail-address and master admin's password | avenger | Modules | 6 | 10-05-2012 03:00 PM |
| OXID 4.5.0 Can't create views. Please check your database user privileges. | jerome | Installation and configuration | 3 | 05-12-2011 04:19 PM |
| save cart, different price levels, favourits, sorting | Ed | General | 4 | 11-08-2010 11:17 AM |
| B2B Setup - Hiding Prices until logged in? | bsx2010 | Newbies | 1 | 02-12-2010 08:37 AM |
| Abfrage Logged in / eingeloggt bleiben | racoon | Entwickler | 4 | 09-05-2009 04:56 PM |