does the front-end click on any interface that needs to be sent by the server? I don"t understand. Can"t variables be stored in memory
?does the front-end click on any interface that needs to be sent by the server? I don"t understand. Can"t variables be stored in memory
?Yes, but not recommended.
this mode is used for complete separation of front and rear ends. You can learn about front-end packaging techniques.
if the interface you are talking about is a separate page (HTML), it is impossible for independent pages to share the same variables in memory, otherwise the security of the page will not be guaranteed at all. For example, a payment page needs to pay 10 yuan, b page can access the memory of page a, you can rewrite the amount of payment.