[In-Commerce] Order thank you screen and session expiration problem

1 view
Skip to first unread message

Alexander Obuhovich

unread,
Jan 29, 2010, 2:46:06 AM1/29/10
to In-Portal Bugs
When you are on other thank you page (after checkout is complete) and then you go drink so tee for an 2 hours or so, then when you return session expiration happens or not happens. Anyway session is dead by then. On that thank you template, when order contents is printed it's ID is retrieved from session via "front_order_id" variable. When session is gone, then ID is gone too, so instead of products in order we are getting all possible products from database which most likely will end up with fatal error about too much memory being used by the script.

I propose to use FAKE_ORDER_ID constant as order id in case, when ID in session is lost. This will give us empty order and no errors.

--
Best Regards,

http://www.in-portal.com
http://www.alex-time.com

Dmitry A.

unread,
Jan 29, 2010, 11:32:33 AM1/29/10
to In-Portal Bugs Team
Yes, this should help.

Can you take over and implement this with patch here?


Thanks.

Alexander Obuhovich

unread,
Mar 27, 2010, 6:21:18 PM3/27/10
to in-port...@googlegroups.com
Here is the task: http://tracker.in-portal.org/view.php?id=659

--
You received this message because you are subscribed to the Google Groups "In-Portal Bugs Team" group.
To post to this group, send email to in-port...@googlegroups.com.
To unsubscribe from this group, send email to in-portal-bug...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/in-portal-bugs?hl=en.

Reply all
Reply to author
Forward
0 new messages