Client side or server side cookie 
Author Message
 Client side or server side cookie

The followings are sample codes from msn. After execution,
I'm unable to find cookie "MyCookie" under cookie
directory. where is "MyCookie" stored? Client or Server
side?


   <HTML>
   <HEAD>
   <%
      'Creates a cookie with a string value "Hello World!"
      Response.Cookies("MyCookie")="Hello World!"
   %>
   </HEAD>
   <BODY>
      <A href="/default.aspx?scid=CookieGet.asp">Click to
get the cookie value</A>
   </BODY>
   </HTML>



Sun, 23 May 2004 04:47:33 GMT  
 Client side or server side cookie
A cookie never stored in disk if no explicit expiration date right?


Quote:
> The followings are sample codes from msn. After execution,
> I'm unable to find cookie "MyCookie" under cookie
> directory. where is "MyCookie" stored? Client or Server
> side?


>    <HTML>
>    <HEAD>
>    <%
>       'Creates a cookie with a string value "Hello World!"
>       Response.Cookies("MyCookie")="Hello World!"
>    %>
>    </HEAD>
>    <BODY>
>       <A href="/default.aspx?scid=CookieGet.asp">Click to
> get the cookie value</A>
>    </BODY>
>    </HTML>



Sat, 29 May 2004 16:44:49 GMT  
 Client side or server side cookie
A cookie is created at the session beginning and destroyed at session end
unless a expire date is set.
Cookie is on client disk


Quote:
> A cookie never stored in disk if no explicit expiration date right?



> > The followings are sample codes from msn. After execution,
> > I'm unable to find cookie "MyCookie" under cookie
> > directory. where is "MyCookie" stored? Client or Server
> > side?


> >    <HTML>
> >    <HEAD>
> >    <%
> >       'Creates a cookie with a string value "Hello World!"
> >       Response.Cookies("MyCookie")="Hello World!"
> >    %>
> >    </HEAD>
> >    <BODY>
> >       <A href="/default.aspx?scid=CookieGet.asp">Click to
> > get the cookie value</A>
> >    </BODY>
> >    </HTML>



Sun, 30 May 2004 02:41:39 GMT  
 
 [ 3 post ] 

 Relevant Pages 

1. using same cookie server-side and client-side

2. attached Contact Item on server-side becomes attached Mail Item on client-side

3. How Can I Pass Data Between the Server Side and the Client Side VB/JScript

4. Server side or client side cursors?

5. Printing report at the client side and the report is at the server side

6. Printing report at the client side and the report is at the server side

7. Mixing of client-side and server-side scripts

8. Server side variables to client side script?

9. Server-Side vs Client-Side script

10. Using Server side Vs OnClick Client side

11. Client Side + Server Side Scripts

12. Passing a server side var to client side block

 

 
Powered by phpBB® Forum Software