X-Cart: shopping cart software

X-Cart forums (https://forum.x-cart.com/index.php)
-   Dev Questions (https://forum.x-cart.com/forumdisplay.php?f=20)
-   -   Keeping the users loged in and keep anonimous users cart content (https://forum.x-cart.com/showthread.php?t=39395)

virtual@croatia 04-29-2008 05:14 AM

Re: Keeping the users loged in and keep anonimous users cart content
 
Quote:

Originally Posted by imexhouse
I have returned to http://www.smee.hr after several hours and, unfortunately, my cart is empty.



Well, it seams we've found another error. I'll check it.

Quote:

Originally Posted by imexhouse
Also, this line:

sets the session length for 2 months, not 6. Is that what you wanted?


Nop :-). My mistake.

imexhouse 04-29-2008 11:42 AM

Re: Keeping the users loged in and keep anonimous users cart content
 
I registered and added a product to my shopping cart. Then, left and returned after a couple of hours. Logged in and the ordered product is still in my cart.
So, logged in users will retain the cart contents, but anonymous users won't, from what I can tell so far.

virtual@croatia 04-29-2008 12:45 PM

Re: Keeping the users loged in and keep anonimous users cart content
 
Quote:

Originally Posted by imexhouse
I registered and added a product to my shopping cart. Then, left and returned after a couple of hours. Logged in and the ordered product is still in my cart.
So, logged in users will retain the cart contents, but anonymous users won't, from what I can tell so far.


I've found another problem, very importnant. When you move to the secure pages, you loose your cart contents. So, don't use until I find the solution.

imexhouse 04-29-2008 12:48 PM

Re: Keeping the users loged in and keep anonimous users cart content
 
virtual - when I move to what pages? I'm not sure I understand...

kube 04-29-2008 02:20 PM

Re: Keeping the users loged in and keep anonimous users cart content
 
I think he may mean moving over to https.

sucer pages maybe a typo for secure pages.

imexhouse 04-29-2008 03:10 PM

Re: Keeping the users loged in and keep anonimous users cart content
 
Of course..
Thx

virtual@croatia 04-29-2008 08:32 PM

Re: Keeping the users loged in and keep anonimous users cart content
 
Quote:

Originally Posted by kube
I think he may mean moving over to https.

sucer pages maybe a typo for secure pages.


:-) Yup, that was it.

virtual@croatia 04-30-2008 02:07 AM

Re: Keeping the users loged in and keep anonimous users cart content
 
I'm doing on it right now and I will report all changes in the first post, so you can keep track there.

virtual@croatia 04-30-2008 03:24 AM

Re: Keeping the users loged in and keep anonimous users cart content
 
I think that with the changes I made it works now. Please try it on a test server before implementation, but I think it's OK now. You can also try it on my web site www.smee.hr where I've already implemented it.

imexhouse 04-30-2008 03:30 AM

Re: Keeping the users loged in and keep anonimous users cart content
 
Yeah, but where's the code?
:)


All times are GMT -8. The time now is 12:02 PM.

Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.