Re: how to set/get cookie for a raw iocp http server?
From: Chau Johnthan (chaujohnthan_at_hotmail.com)
Date: 08/26/04
- Next message: Chau Johnthan: "Re: how to set/get cookie for a raw iocp http server?"
- Previous message: Igor Tandetnik: "Re: how to set/get cookie for a raw iocp http server?"
- In reply to: Igor Tandetnik: "Re: how to set/get cookie for a raw iocp http server?"
- Next in thread: Chau Johnthan: "Re: how to set/get cookie for a raw iocp http server?"
- Messages sorted by: [ date ] [ thread ]
Date: Fri, 27 Aug 2004 00:38:25 +0800
yeah!:-)))))))))))))))
so that's say, after I use set-cookie response the client,
ie will cache it, the next time the user come up, ie will
wrap it out in its cookie header.
if the user has configured some preference, I need to
wrap new value in the set-cookie.
"Igor Tandetnik" <itandetnik@mvps.org> wrote in message
news:#gxv6j4iEHA.536@TK2MSFTNGP11.phx.gbl...
> "Chau Johnthan" <chaujohnthan@hotmail.com> wrote in message
> news:OFqLTd4iEHA.3632@TK2MSFTNGP09.phx.gbl
> > I am using iocp to create a http server. and I want to
> > set/get cookie in the header. how should I do that?
> >
> > I can get out computer name, ip addr of the peer after
> > AcceptEx.
>
> Cookies are HTTP protocol level entities, they have nothing to do with
> TCP/IP. You set a cookie by sending a well formed Set-Cookie: header in
> your HTTP response. You get a cookie when the client includes Cookie:
> header in its HTTP request.
> --
> With best wishes,
> Igor Tandetnik
>
> "For every complex problem, there is a solution that is simple, neat,
> and wrong." H.L. Mencken
>
>
- Next message: Chau Johnthan: "Re: how to set/get cookie for a raw iocp http server?"
- Previous message: Igor Tandetnik: "Re: how to set/get cookie for a raw iocp http server?"
- In reply to: Igor Tandetnik: "Re: how to set/get cookie for a raw iocp http server?"
- Next in thread: Chau Johnthan: "Re: how to set/get cookie for a raw iocp http server?"
- Messages sorted by: [ date ] [ thread ]
Relevant Pages
|