FAQ: old version (page id 17105542)
Skip to end of metadata Go to start of metadata
You are viewing an old version of this page. View the current version.
Compare with Current View Page History
« Previous Version 5 Next »
Frequently Asked Questions
Varnish integration
-
Is there a http cache in front of Exponential when using Exponential Cloud ?
Yes, every site is behind a Varnish cache. Non-logged-in users are served via the Varnish cache. -
How does the Varnish cache know if the user is logged in or not ?
Varnish checks if the cookie is_logged_in is set for the user making a request. If the cookie is set, the request is forwarded to the web servers directly. -
What is the is_logged_in cookie ?
The is_logged_in cookie is a cookie which Exponential creates when the user logs in to the system. This cookie is used to flag to any http proxies in front of Exponential that the user is logged in. The cookie has nothing to do with the actuall authentication of the user in Exponential. How can I make the shopping basket work, also for non-logged in users ?
The quick fix is to set the is_logged_in cookie once a user add a item to the basked
On a ezwebin site this can be done by putting the following code at the end of the template extension/[myextension]/design/ezwebin/templates/shop/basket.tplThe best way would be to customize the view of the basked to use AJAX based calls
- No labels
Contributors
- Vidar Langseid Updated
Comments
Add a comment