| 
									
										
										
										
											2021-06-11 17:46:26 +08:00
										 |  |  | <!DOCTYPE html> | 
					
						
							|  |  |  | <html> | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | <head> | 
					
						
							|  |  |  |     <meta charset="UTF-8"> | 
					
						
							|  |  |  |     <meta http-equiv="X-UA-Compatible" content="IE=edge"> | 
					
						
							|  |  |  |     <meta name="viewport" content="width=device-width, initial-scale=1.0"> | 
					
						
							|  |  |  |     <title>TSRPC Example</title> | 
					
						
							|  |  |  |     <link rel="stylesheet" href="index.css" /> | 
					
						
							|  |  |  | </head> | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | <body> | 
					
						
							|  |  |  |     <h1>Session and Cookie</h1> | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  |     <div class="buttons"> | 
					
						
							|  |  |  |         <button id="btnTest">Test</button> | 
					
						
							|  |  |  |         <button id="btnClear">Clear</button> | 
					
						
							| 
									
										
										
										
											2021-06-14 17:45:11 +08:00
										 |  |  |         <button id="btnSetSession">Set Session</button> | 
					
						
							|  |  |  |         <button id="btnSetCookie">Set Cookie</button> | 
					
						
							| 
									
										
										
										
											2021-06-11 17:46:26 +08:00
										 |  |  |     </div> | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  |     <h2>API Request</h2> | 
					
						
							|  |  |  |     <pre class="apiReq"></pre> | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  |     <h2>API Return</h2> | 
					
						
							|  |  |  |     <pre class="apiReturn"></pre> | 
					
						
							|  |  |  | </body> | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | </html> |