1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17
<!DOCTYPE html> <html> <head> <meta charset="utf-8"> <title>Page to get cookies</title> </head> <body> <iframe src="doc_get_cookies_frame.html"></iframe> <script type="text/javascript"> document.cookie = "page=mainpage"; </script> </body> </html>