Hello everyone!
I've been searching for a while a way to safely and properly differenciate the frontend from the backend in the code of the external java objects of my components.
For instance if I want to deal with caching one way for the backend (the end attached to TeamSite) and another way for the frontend (the end that is running on its own with the LiveSite runtime), how can I programmatically know which end I'm running on? (Using LiveSite 2.2.1)
We have several environment and we don't really want to have environment variables set or anything of that sort. I've been looking in the base class, and pretty much all the other classes I could find delivered with LiveSite and so far no luck.
Does anyone has an idea? a plan? a solution?
Thanks in advance