Currently using stripes in combination with Google App Engine. When testing locally, everything runs smoothly. However, when the application is hosted online, a series of issues arise:
- The use of
functions correctly initially. Yet, after refreshing the page and attempting the same actions, it no longer has any effect.getContext().getMessages().add(new SimpleMessage(...))
- Within my login page, user information is supposed to be stored in the session. In this process, I utilize
.getContext().getUser()
orsetUser(User user)
.
The getUser method:return (User) getRequest().getSession(false).getAttribute("user")
The setUser method:if (user == null) {getRequest().getSession().removeAttribute("user");} else {getRequest().getSession(true).setAttribute("user", user);}
However, the expected behavior of loading the user into the session does not occur – unlike on the localhost environment where it works as intended.
Testing the application on Opera, Chrome, Firefox, and IE all yield the same results.
It appears that there may be an issue with the getContext() method, though identifying the exact problem is proving difficult.