Win a copy of Design for the Mind this week in the Design forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Page is refreshing continously on IE

 
selvi sibi
Greenhorn
Posts: 9
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
When I perform a logout function, my home page is loading continously . Can you please suggest a solution. It is the problem only on IE browser. It happens only after perform a logout function. Thanks in advance...

 
Shankar Tanikella
Ranch Hand
Posts: 329
Eclipse IDE Java Oracle
  • Likes 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Need more information on what you are doing on logout
 
selvi sibi
Greenhorn
Posts: 9
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hii,
thanks for your reply. I'm stuck on this issue. in my logout page, I remove the cookies for a particulat email so that to remove him from keep me signed in portion. On the next step forwardint to my index page....


<% // for removing cookies after logout
if (session.getAttribute("sesEmailAddressl") != null) {
ClassName obj = new ClassName ();
String email = session.getAttribute("sesEmailAddressl").toString();
objLoginDAOImpl.removeCookies(response, email, "");
}
if (session != null) {
session.invalidate();
}
%>
<jsp:forward page="toLogin.do"/>
 
Shankar Tanikella
Ranch Hand
Posts: 329
Eclipse IDE Java Oracle
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
It looks fine, whats the follow up code, i mean toLogin.do..
Which version of struts is it?
 
selvi sibi
Greenhorn
Posts: 9
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I am using struts1.3.8 .... When I request for home page it loads and functions correctly. On all browsers other than IE it is ok. But this issue is only when I perform logout. If youhave any suggestions, Please help me .....

In my home page there is login section and searching section. Date pickers are using in my index page....
After performs logout function, then whenever we request home page is is refreshing continously.........


 
Shankar Tanikella
Ranch Hand
Posts: 329
Eclipse IDE Java Oracle
  • Likes 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Few browsers like newer versions of Firefox, terminates the infinite submissions automatically and hence you could not recognize the problem.

What is the global forward and exception defined in the struts-config?
Do you have any onload submission in login JSP?
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic