Home > Web Front-end > JS Tutorial > Specific implementation of httpclient simulated login (using js to set cookies)_javascript skills

Specific implementation of httpclient simulated login (using js to set cookies)_javascript skills

WBOY
Release: 2016-05-16 17:09:43
Original
692 people have browsed it

httpclient simulates login (use js to set cookies)

Copy code The code is as follows:



<script>document.cookie='utmpnum=51;path=/;domain=.' window.location.host</script>
<script>document.cookie='utmpkey= 20154732;path=/;domain=.' window.location.host</script>
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template