1. Through the cookie, because it can operate both on the server side, you can operate on the client.
But the disadvantage is not safe, and sometimes the client will disable the cookie due to security issues!
example:
The following is the HTML code for the parent page.
<% @ Page language = "vb" autoeventwireup = "false" codebehind = "main.aspx.vb" inherits = "zero.main"%>
main title>