| |

VerySource

 Forgot password?
 Register
Search
View: 630|Reply: 3

Re-login Questions to return to the login page

[Copy link]

1

Threads

1

Posts

2.00

Credits

Newbie

Rank: 1

Credits
2.00

 United States

Post time: 2020-2-16 19:30:01
| Show all posts |Read mode
The main page is divided into two parts, the left and right are navigation bars. Click the exit menu to execute
<%
    session.invalidate ();
    response.sendRedirect ("index.html");
%>
However, only the landing page is displayed in the navigation bar, and the rest of the frame is not moved. How can I completely exit to the landing page?
Reply

Use magic Report

0

Threads

12

Posts

7.00

Credits

Newbie

Rank: 1

Credits
7.00

 China

Post time: 2020-4-18 20:15:02
| Show all posts
response.sendRedirect ("1.html");

Then write in 1.html:
<html>
<script>
    top.location = "index.html";
</ script>
</ html>
Reply

Use magic Report

0

Threads

12

Posts

7.00

Credits

Newbie

Rank: 1

Credits
7.00

 China

Post time: 2020-4-18 21:30:02
| Show all posts
Or enter this code with out
<script>
    top.location = "index.html";
</ script>
Reply

Use magic Report

0

Threads

3

Posts

3.00

Credits

Newbie

Rank: 1

Credits
3.00

 China

Post time: 2020-7-28 09:15:01
| Show all posts
correct
Reply

Use magic Report

You have to log in before you can reply Login | Register

Points Rules

Contact us|Archive|Mobile|CopyRight © 2008-2023|verysource.com ( 京ICP备17048824号-1 )

Quick Reply To Top Return to the list