Looks like a previous message didn't make it. The quick overview I was
talking about is :
http://www.sislands.com/javascript/week7/cookiedef.htm
"Patrice" <nobody@nowhere.com> a écrit dans le message de
news:%23AWPrUJTEHA.1548@TK2MSFTNGP11.phx.gbl...[color=blue]
> Below in this page, you can download a script that provides ready to use
> cookie handling functions (setCookie, getCookie, deleteCookie and so on)
> know as "Night of the Living Cookie" (you should also find this on[/color]
Google).[color=blue]
> I posted also another message that points to an article that better[/color]
explains[color=blue]
> the details regarding cookies.
>
> Bascially the syntax would be rather "mycookie=10" to create a cookie[/color]
named[color=blue]
> "mycookie" whose value is 10.
>
> Patrice
>
> "Carl" <carl@mm.no> a écrit dans le message de
> news:ep2OVNJTEHA.1272@TK2MSFTNGP10.phx.gbl...[color=green]
> > Thanks, but my problem is not to pass cookies between html pages, but
> > between
VB (or Javascript) and ASP in the same page.
> > That's what doesn'y work in my example ...
> >
> >
> >
> >
> > "Patrice" <nobody@nowhere.com> wrote in message
> > news:uQu1OrHTEHA.1472@TK2MSFTNGP09.phx.gbl...[color=darkred]
> > > This one looks like a good starting point to get an understanding of[/color][/color][/color]
the[color=blue][color=green][color=darkred]
> > > cookie mechanism :
> > >
http://www.sislands.com/javascript/week7/cookiedef.htm
> > >
> > > Of course instead of "name" you have to use the actual name of your[/color]
> > cookie.[color=darkred]
> > > Also a cookie has a value.
> > >
> > > Patrice
> > >
> > > "Patrice" <nobody@nowhere.com> a écrit dans le message de
> > > news:ev7UslHTEHA.2236@TK2MSFTNGP09.phx.gbl...
> > > > See :
> > > >
http://home.att.net/~codeLibrary/HTML/form2.htm and the "Night of[/color][/color][/color]
the[color=blue][color=green][color=darkred]
> > > Living
> > > > Cookie" script.
> > > >
> > > > The cookie property contains actuzally all the cookies. It's[/color][/color][/color]
probably[color=blue][color=green]
> > best[color=darkred]
> > > > to have some functions (such as those exposed by the above script)[/color][/color][/color]
to[color=blue][color=green][color=darkred]
> > > hanlde
> > > > cookies client side (FYI clients-side unless in a controlled[/color]
> > environment,[color=darkred]
> > > > JvaScript is generally preferred over VBScript)...
> > > >
> > > > Patrice
> > > >
> > > > "Carl" <carl@mm.no> a écrit dans le message de
> > > > news:OstvATHTEHA.2372@TK2MSFTNGP11.phx.gbl...
> > > > > Hi,
> > > > >
> > > > > I want to pass the value of the cookie created in
VB to ASP. This
> > > doesn't
> > > > > work. Any idea?
> > > > > Thanks
> > > > > Carl
> > > > > ...
> > > > > <script language=vbscript>
> > > > > document.cookie="mycookie" ' also tried[/color][/color][/color]
with[color=blue][color=green][color=darkred]
> > > > > document.cookie="name=mycookie"
> > > > > </script>
> > > > >
> > > > > <%
> > > > > z=request.cookies("mycookie")
> > > > > response.write(z)
> > > > > %>
> > > > > ...
> > > > >
> > > > >
> > > >
> > > >
> > >
> > >[/color]
> >
> >[/color]
>
>[/color]