![]() |
Re: Keeping the users loged in and keep anonimous users cart content
Quote:
In the first post (top of the thread). |
Re: Keeping the users loged in and keep anonimous users cart content
You mean you edited the original post?
The one that didn't work? I just want to make sure... |
Re: Keeping the users loged in and keep anonimous users cart content
In my config.php (4.0.19) I have:
$config["Sessions"]["session_length"] instead of $use_session_length Anyway, I added some stuff to the cart on smee and left. We'll see later on today.. |
Re: Keeping the users loged in and keep anonimous users cart content
Quote:
Yes, the original one. I edited it, it's better to keep changes at the top of the thread. |
Re: Keeping the users loged in and keep anonimous users cart content
Quote:
Quote:
I think it works, cause the table xcart_sessions_data in which are all sessions data variables (cart contents, login name etc.) is growing. This table will have exactly the same amount of rows as are unique users in 6 months plus robots, so it will be quite a big table :-). |
Re: Keeping the users loged in and keep anonimous users cart content
Well, I just returned to your store and the cart is full!
Good job! |
Re: Keeping the users loged in and keep anonimous users cart content
Quote:
:-) Thanks. I hope it will stay full for 6 months :-). You can try my wishlist as well. I made it to accept anonymous users (usually you have to log in to use it) and it should keep it for 6 months as well. |
Re: Keeping the users loged in and keep anonimous users cart content
I think the line in modules/Users_online/registered_users.php:
$expiry_time = $curtime + 300; is ignored, if you set the session expired time in config.php to something else. I have registered_users.php set for 5 minutes, but my users online stats are still showing users that visited my site 12 hours ago. |
Re: Keeping the users loged in and keep anonimous users cart content
Quote:
I think you are right. I'll check tomorrow what is going on with it and send the correction. |
Re: Keeping the users loged in and keep anonimous users cart content
Another possibility is that all the users that visited my website before I made the change to 300 seconds (from 6 months), had their sessions registered already and changing the expiry period to 300 wouldn't affect them, but would only apply to new users.
|
All times are GMT -8. The time now is 08:23 PM. |
Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.