Liferay Symposium 2016 | Reserve your seat today.
(Opens New Window)
Mark as an Answer
How to Redirect using cookie or anyother way.... Pease advise!
September 24, 2012 6:19 AM
Rank: Junior Member
Join Date: February 1, 2012
I am trying to find a fix for an issue.
When user clicks on mobile link from Desktop page, the cookie is set to mobile and user sent to mobile home page. Vice versa for desktop.
Now when user goes to desktop age (when cookie is mobile)...the user is redirected, but this redirection takes few seconds...during which desktop page is loaded...and then after 1-2 seconds, user is sent to mobile home page.
Is here any way to do this kind of work from server side.
Or may be use Expando here...(although i don't know how)
I am running this cookie friendly jquery in theme level...
I also want to working at login level also, so that when user has set cookie as mobile, user is directly taken to mobile, instead of redirecting through desktop.
Would really appreciate if any help can be given on this.
Thanks and Regards,
Sign in to vote.
Please sign in to flag this as inappropriate.