We are using Java
Page Flow framework . As per the JPF framework, we are creating the HttpSession in the begin() method. Then we are setting a unique ID using setAttribute for that session. Then my request redirects to the preauth jsp
page where I open a new window and set the below attributes for the authentication page and redirect to my authentication page.
When I try to submit my authentication page after entering the credentials , in my JPF Controller I'm validating the unique ID which i have already set in the begin() method.
Sometimes(out of 100% , 5 % it is failing), I am not able to get the unique ID (that i have set in the session) and my session Object is coming as null.
My Controller JPF class
Also, please note I'm creating the session in the begin method only and nowhere I'm modifying the session object.
After clearing the browser cache and session , it is working correctly.
So I thought of clearing the browser cache / history in some way!!!