修改密码后,删除session跳转登录页面,登录页面显示在iframe中

问题:修改密码后,删除session跳转登录页面,登录页面显示在iframe中
在这里插入图片描述
解决

原先是这样的:
// 定时跳转
setTimeout("javascript:location.href='../../UserCheckLoginServlet?state=logout'", 2100);

// 定时跳转
setTimeout("javascript:top.location.href='../../UserCheckLoginServlet?state=logout'", 2100);
发布了56 篇原创文章 · 获赞 14 · 访问量 6273

猜你喜欢

转载自blog.csdn.net/qq_41154522/article/details/100121857
今日推荐