Session cookies-These are temporary and are erased when you close your browser at the end of your surfing session. the next time you visit that participant site it will not recognize you and will treat you as a completely new visitor as there is nothing in your browser to let the site know that you have visited before
If no expiration time is set, it indicates that the life cycle of the cookie is the browser session, and the cookie disappears as long as the browser window is closed. This cookie is calledSessionCookie. Session cookies are generally stored in memory instead of hard disks.
Persistent cookies-These remain on your hard drive until you erase them or they expire. How long a cookie remains on your browser depends on how long the visited website has programmed the cookie to last
After the expiration time is set, the browser will save the cookie to the hard disk and open the browser again. These cookies remain valid until the preset expiration time is exceeded.
Cookies stored on hard disks can be shared among different browser processes, such as two IE Windows. For Cookies stored in the memory, different browsers have different processing methods.
This article from the "O & M home (Q group: 1991706)" blog, please be sure to keep this source http://304076020.blog.51cto.com/7503470/1561992
Comparison between temporary and permanent cookies