The problem is probably this: when user a landing, will first jump to the first page,
Home page parameters are like this, but what if you want to connect to other sections in the navigation bar? How to just pass it once to meet all the jumps
Reply content:
The problem is probably this: when user a landing, will first jump to the first page,
Home page parameters are like this, but what if you want to connect to other sections in the navigation bar? How to just pass it once to meet all the jumps
Not very clear requirements, for the moment, to understand how the parameters in different links and pages directly passed.
Method
- In the PHP output when the parameters are written in the navigation bar links.
- There is a session or cookie that is read when the module in the navigation bar is used.
- Add parameters to the specified link dynamically by JS mode
Suggestions
- It is important to maintain a good URL structure if I prefer to query the user's required parameters in the backend via the session.
- Do not misuse cookies, the project is big, the first to see these messy key, the head will be very big.
- The final suggestion, if the user relationship is strong, put the session, and vice versa through the code encapsulation to query.
In the session, and then read it on the front.