6
6
6Mkfcbpwamxx2021-06-11 14:27:01
JavaScript
6Mkfcbpwamxx, 2021-06-11 14:27:01

How to redirect to another page without refreshing the page?

Let's say I'm sure that the person is on the page /test1
How to make it so that after pressing the button in the admin panel the person is redirected to the page, say, /test2
(that is, the client immediately redirects without refreshing the page).
Direct at least in which direction to dig.

Answer the question

In order to leave comments, you need to log in

2 answer(s)
A
Alexander, 2021-06-11
@AleksandrB

sockets + javascript

V
Vladimir Korotenko, 2021-06-11
@firedragon

Spa history api and so on on the client, however, you can manually load partial renders, but as for me, this is now a perversion

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question