The problem is this, page A has a list of items. Page B is the base page of the item list on page A.
Now I want to add a logo to the top 10 units in page A in a certain front-end and back-end interaction in page B.
What good idea is there to solve it? My first reaction is:
1 Add fixed parameters to the jump links of the top 10 units on page A.
Question: If someone saves this path, Or directly change the parameter value, causing the front-end and back-end interaction information in page B to be unreal.
2 Save cookies on page A, but the problem is: cookies can also be changed
Or solve it in the direction of Node (the backend is node)
Due to some business reasons, Node cannot process the data when spitting out the data on page A
Any front-end data is unreliable. If you want reliable data, you can only operate it on the server
Using express's session module, the cookie only performs an identification authentication, and the logo is stored in the session.
If you have high requirements for accuracy, then directly request server verification on page B. Do you want to display page B? If it is not consistent with the server, redirect.