Switching networks (cellular/wifi) while viewing through preview

Paul May 29, 2014 06:38AM PDT

Hi,

We have a site in testing through Mobify preview and are experiencing an issue when the network of the device is changed from cellular to wifi or vice-versa. If you already have a page loaded and after the switch you perform a function it will load just a white screen, but if you refresh and do a new page load it will be fine.

There appear to be a number of cookies set by the preview process, one of which has a hashed value stored. We're wondering if this is in part based on the user's IP and is expiring on network change. Or if otherwise you are aware of network switching issues in preview mode.

Any insight you have would be helpful.

Paul @ FCV

Up 4 rated Down
Michael May 29, 2014 12:47PM PDT Mobify Agent

Hi Paul,

Thanks for the question, this is an interesting case to discuss. When you are previewing a site using the Mobify Preview tool (at preview.mobify.com), a cookie is stored on the device that contains your IP address (at time of preview) amongst other things. Each time the browser makes a new request, Mobify Cloud is taking a look at that cookie and ensuring that the IP at time of cookie creation is identical to the IP making the request. If there is a mismatch, for the sake of security the preview will fail and you will need to re-preview.

Just to be clear, this is not an issue that would affect a production site running Mobify.js, this is a security measure limited to the Mobify Preview process. Let me know if there’s any other questions.

Thanks,
Michael

Post Your Public Answer

Your name (required)
Your email address (required)
Answer (required)
support@mobify.me
https://cdn.desk.com/
mobify
Loading
seconds ago
a minute ago
minutes ago
an hour ago
hours ago
a day ago
days ago
about
Invalid characters found
/customer/en/portal/articles/autocomplete