I have a mobile webapp with a single view index.xhtml. I change this view dynamicaly with POST request only. Basically all my ViewScopedBean are SessionScopedBean. I don't know if it is the best solution for mobile webapp but there it is (dynamic updating looks like faster than reload a whole new page).
All is fine on localhost, even in production when I use the ip of my remote server to acces the mobile webapp. When I use the domain name, on one on my dynamic views, if do something with a post request, I got this exception
javax.faces.application.ViewExpiredException: viewId:/index2.xhtml - View /index2.xhtml could not be restored.
I know why this exception occurs but I don't why my view expired. Where should I look ? I could post my code but it's really messy.