develooper Front page | perl.libwww | Postings from April 2003

javascript, and cookie

Thread Next
From:
luli.hummel
Date:
April 6, 2003 07:44
Subject:
javascript, and cookie
Message ID:
20030406104726.A83BB162A62@mail.center.njtu.edu.cn
hi,all
  i am using lwp to browse web.
  i meet a big problem,
  i post my id & password to some URL,
i get this content:

<html>
<meta http-equiv='Content-Type' content='text/html; charset=gb2312'>
<link rel=stylesheet type=text/css href='/bbs.css'>
<script>document.cookie='utmpnum=228'</script>
<script>document.cookie='utmpkey=87655926'</script>
<script>document.cookie='utmpuserid=aaaa'</script>
<meta http-equiv='Refresh' content='0; url=/index.html'>

i know, this javascript create cookie on client.
can u tell me how i create this cookie like javascript? 

luli



Thread Next


nntp.perl.org: Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at ask@perl.org | Group listing | About