previously we were using response.sendRedirect() now that is changed to request.getRequestDispatcher().forward() and the application is working fine but when i hit refresh it takes me to the index(login) page. I see in my browser address bar that mydomain.com is only visible even when I visit different pages(it doesn't show mydomain.com/support.jsp or mydomain.com/careers.jsp)
the company who redirect to our static IP use frames as show below <html> <head> </head> <frameset border="0" rows="100%,*"> <frame frameborder="0" src="http://126.96.36.199:8080/myapp"> </frame> <frame noresize="" frameborder="0"> </frame> </frameset> </html>
I have seen this before. IE does not appear to share cookies across domains when using frames or iframes. I am not sure if this is a setting that can be changed or not, but for us it was simple enough to turn off using cookies for session management and instead we relied completely on URL re-writing.
Joined: Nov 28, 2008
Thats not the domain or session problem. For resolve this problem you have to set the security options like override the cookie.
Follow this setting. in IE7 -> tools -> internet options -> privacy -> advanced -> check the 'Override automatic cookie handling' and make sure 'Accept' option is selected for 'Third-party Cookies'
Joined: Oct 30, 2007
I don't think the solution which you have mentioned is feasible, because he can't force/request the users of the page to change the settings in their browsers to correctly use the site.
As you have mentioned, your entire site navigation is carried using frames, the URL will only reflect the parent frame, and any "Refresh" action will lead to resubmitting of parent frame URL which results in loding the "default" state.
Feel free to correct me if I am guiding in wrong direction.