I am using Wix to host the marketing website that fronts my webapp. The Wix site is on the main domain and the webapp is hosted externally on a subdomain.
I want to redirect users from the marketing website to the webapp if they are already logged in.
The webapp stores logged-in state in a cookie, but I have been unable to work out how to access this cookie in either an HTML module or through Wix Code.
Please let me know how I can do this.