how session cookie is stored?

This is a discussion on how session cookie is stored? within the alt.comp.lang.php forums, part of the PHP Programming Forums category; There are two cookie types: 1) session cookie. 2) persistent cookie is the same as tracking cookie? Is that correct? ...


Go Back   Usenet Forums > PHP Programming Forums > alt.comp.lang.php

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 09-27-2005
jrefactors@hotmail.com
 
Posts: n/a
Default how session cookie is stored?

There are two cookie types:
1) session cookie.
2) persistent cookie is the same as tracking cookie?

Is that correct?

For windows machine, the files in C:\Documents and
Settings\Administrator\Cookies
are all persistent cookie, it doesn't have session cookie?

How session cookies are stored? Session cookie should expire
once the browser is closed.

Please advise. thanks!!

Reply With Quote
  #2 (permalink)  
Old 09-27-2005
David Dorward
 
Posts: n/a
Default Re: how session cookie is stored?

jrefactors@hotmail.com wrote:

> There are two cookie types:
> 1) session cookie.
> 2) persistent cookie is the same as tracking cookie?


No, "tracking" describes how the cookie is used.

Session cookies expire when the browser is closed, other cookies last until
the expiry time sent by the server (unless overridden by user preference).

> For windows machine, the files in C:\Documents and
> Settings\Administrator\Cookies


Don't confuse "Windows" with "Internet Explorer". How browsers handle
cookies depends on the browser.

> How session cookies are stored?


It doesn't matter (at least from the perspective of any of the groups you
crossposted this too). How the browser keeps track of cookies doesn't
matter, all you need to care about is what data it sends back to the
server.

--
David Dorward <http://blog.dorward.me.uk/> <http://dorward.me.uk/>
Home is where the ~/.bashrc is
Reply With Quote
  #3 (permalink)  
Old 09-27-2005
Matt Silberstein
 
Posts: n/a
Default Re: how session cookie is stored?

On 27 Sep 2005 12:01:51 -0700, in alt.www.webmaster ,
jrefactors@hotmail.com in
<1127847711.144553.46950@g44g2000cwa.googlegroups. com> wrote:

>There are two cookie types:
>1) session cookie.
>2) persistent cookie is the same as tracking cookie?
>
>Is that correct?
>
>For windows machine, the files in C:\Documents and
>Settings\Administrator\Cookies
>are all persistent cookie, it doesn't have session cookie?
>
>How session cookies are stored? Session cookie should expire
>once the browser is closed.


I don't know, but if I were doing it I would not bother to write out a
file that has to be destroyed when I am done. Keep the cookie in
process memory.

--
Matt Silberstein

Do something today about the Darfur Genocide

Genocide is news | Be A Witness
http://www.beawitness.org

"Darfur: A Genocide We can Stop"
www.darfurgenocide.org

Save Darfur.org :: Violence and Suffering in Sudan's Darfur Region
http://www.savedarfur.org/
Reply With Quote
Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are Off
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT +1. The time now is 12:18 PM.


Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.0.0