Re: Cookie set browser session.

This WebDNA talk-list message is from

1998


It keeps the original formatting.
numero = 19471
interpreted = N
texte = >>With asp on the NT if I do not set an expiration time for a cookie, then >>it automatically expires with the session, any chance of getting that >>same effect with the setcookie command. I did try skipping the expires= >>parameter, but the cookie didn't get set. > >In HTML there is no such thing as a 'session'. What do you want as a >definition of a session? > >Technical Support | ==== eCommerce and Beyond ==== >Pacific Coast Software | WebCatalog, WebMerchant, >11770 Bernardo Plaza Court | SiteEdit Pro, PhotoMaster, >San Diego, CA 92128 | Typhoon >619/675-1106 Fax: 619/675-0372 | http://www.smithmicro.com/ > A session ends when the browser is quit. Basically the cookie is held in RAM (as always). But when the browser is quit, cookies are flushed to disk if and only if there is an expire date and the domain names match properly. (if the browser or computer crashes before the browser is quit, the cookie is not saved to disk even with an expire date, so cookies aren't a fool proof record keeper). Associated Messages, from the most recent to the oldest:

    
  1. Re: Cookie set browser session. (PCS Technical Support 1998)
  2. Re: Cookie set browser session. (PCS Technical Support 1998)
  3. Re: Cookie set browser session. (bob 1998)
  4. Re: Cookie set browser session. (bob 1998)
  5. Re: Cookie set browser session. (Sandra L. Pitner 1998)
  6. Cookie set browser session. (bob 1998)
  7. Re: Cookie set browser session. (PCS Technical Support 1998)
>>With asp on the NT if I do not set an expiration time for a cookie, then >>it automatically expires with the session, any chance of getting that >>same effect with the setcookie command. I did try skipping the expires= >>parameter, but the cookie didn't get set. > >In HTML there is no such thing as a 'session'. What do you want as a >definition of a session? > >Technical Support | ==== eCommerce and Beyond ==== >Pacific Coast Software | WebCatalog, WebMerchant, >11770 Bernardo Plaza Court | SiteEdit Pro, PhotoMaster, >San Diego, CA 92128 | Typhoon >619/675-1106 Fax: 619/675-0372 | http://www.smithmicro.com/ > A session ends when the browser is quit. Basically the cookie is held in RAM (as always). But when the browser is quit, cookies are flushed to disk if and only if there is an expire date and the domain names match properly. (if the browser or computer crashes before the browser is quit, the cookie is not saved to disk even with an expire date, so cookies aren't a fool proof record keeper). Sandra L. Pitner

DOWNLOAD WEBDNA NOW!

Top Articles:

Talk List

The WebDNA community talk-list is the best place to get some help: several hundred extremely proficient programmers with an excellent knowledge of WebDNA and an excellent spirit will deliver all the tips and tricks you can imagine...

Related Readings:

View order not right (1997) WebCat2 - storing unformatted date data? (1997) Cart Template (1997) Ampersand Character (&) (1997) Deleting duplicates from a db (2000) Does anyone have a solution to make carts smaller? (1998) [WebDNA] WebDNA jQuery JSON javascript stuff (2010) WebDNA vs PHP (2003) WebCat2b15MacPlugin - showing [math] (1997) Change Subtotal (2000) Show all from database (2001) Cart Question (1998) (p2) WebDNA 5 - Privacy Issue (Built in sniffer) (2003) PIXO Support (1997) [WriteFile] problems (1997) Re1000001: Setting up shop (1997) Nested vs conditional (1997) Searching blank fields problem (1999) Finding max value for a field (1997) Email Scavengers (2003)