Is there a way to edit the cookie to stop the mobile site from reverting to the desktop site?
Mobile, Cookies, Widgets
Oracle Service Cloud, Customer Portal
When selecting the desktop link from the mobile site, it diverts to the desktop site. If the browser is then closed, the settings seem to be stored in a cookie and I'm unable to get back to the mobile site. Is there a way to edit the cookie to save these changes?
There is an in built cookie feature which is actually an attribute of the widget which allows you to switch between the mobile and desktop sites.
From looking at the mobile.php template, it can be seen that the widget being used is called 'PageSetSelector'. Looking up this widget in the 'Widget Documentation' reference found on the customer portal will detail the following information about the attribute:
- Name: Cookie Expiration
- Type: INT
- Description: The number of days in which the cookie will expire. If set to zero, the cookie will be a session cookie that expires when the user closes the browser.
- Default: 10
- Required: false