Re: session handling

This WebDNA talk-list message is from

2004


It keeps the original formatting.
numero = 57424
interpreted = N
texte = hi... i asked the same question a month ago on this list. but finally wrote a little system myself. i don't use the orderfile thing. it doesn't work with cookies and the files i write for session handling are a lot smaller. of course they are designed to handle only small amount of variables which i need to follow the user around and time the sessions out after a while... it's not a lot of code but it works fine for me... On Tue, 20 Apr 2004, charles kline wrote: > I know - it was kind of a "DUH!" moment there ;) > Although it would be fun for sure. I have also been working on a > version that uses and XML file to handle the data which makes updating > values much simpler then playing with arrays in WebDNA (since there are > no array functions). > > - Charles > > > On Apr 20, 2004, at 3:47 PM, John Peacock wrote: > > > charles kline wrote: > > > >> in this case, do you think it is even worth writing these functions? > >> i could just as soon use the header fields in a cart to handle this > >> and the methods for get and set are already written into the engine > >> (no way it would be faster as a function). > > > > View it as a training exercise. ;~) > > > > Seriously, this is exactly what the ShoppingCart was designed for > > (session state for stateless HTTP transactions). It has specific code > > designed to be resiliant to failure, as well as autopurging of old > > records. > > > > John > > > > -- > > John Peacock > > Director of Information Research and Technology > > Rowman & Littlefield Publishing Group > > 4501 Forbes Boulevard > > Suite H > > Lanham, MD 20706 > > 301-459-3366 x.5010 > > fax 301-429-5748 > > > > ------------------------------------------------------------- > > This message is sent to you because you are subscribed to > > the mailing list . > > To unsubscribe, E-mail to: > > To switch to the DIGEST mode, E-mail to > > > > Web Archive of this list is at: http://webdna.smithmicro.com/ > > > > > ------------------------------------------------------------- > This message is sent to you because you are subscribed to > the mailing list . > To unsubscribe, E-mail to: > To switch to the DIGEST mode, E-mail to > Web Archive of this list is at: http://webdna.smithmicro.com/ > ------------------------------------------------------------- This message is sent to you because you are subscribed to the mailing list . To unsubscribe, E-mail to: To switch to the DIGEST mode, E-mail to Web Archive of this list is at: http://webdna.smithmicro.com/ Associated Messages, from the most recent to the oldest:

    
  1. Re: session handling ( Donovan Brooke 2004)
  2. Re: session handling ( Alain Russell 2004)
  3. Re: session handling ( Donovan Brooke 2004)
  4. Re: session handling ( Kalin Mintchev 2004)
  5. Re: session handling ( charles kline 2004)
  6. Re: session handling ( charles kline 2004)
  7. Re: session handling ( Alain Russell 2004)
  8. Re: session handling ( John Peacock 2004)
  9. session handling ( charles kline 2004)
hi... i asked the same question a month ago on this list. but finally wrote a little system myself. i don't use the orderfile thing. it doesn't work with cookies and the files i write for session handling are a lot smaller. of course they are designed to handle only small amount of variables which i need to follow the user around and time the sessions out after a while... it's not a lot of code but it works fine for me... On Tue, 20 Apr 2004, charles kline wrote: > I know - it was kind of a "DUH!" moment there ;) > Although it would be fun for sure. I have also been working on a > version that uses and XML file to handle the data which makes updating > values much simpler then playing with arrays in WebDNA (since there are > no array functions). > > - Charles > > > On Apr 20, 2004, at 3:47 PM, John Peacock wrote: > > > charles kline wrote: > > > >> in this case, do you think it is even worth writing these functions? > >> i could just as soon use the header fields in a cart to handle this > >> and the methods for get and set are already written into the engine > >> (no way it would be faster as a function). > > > > View it as a training exercise. ;~) > > > > Seriously, this is exactly what the ShoppingCart was designed for > > (session state for stateless HTTP transactions). It has specific code > > designed to be resiliant to failure, as well as autopurging of old > > records. > > > > John > > > > -- > > John Peacock > > Director of Information Research and Technology > > Rowman & Littlefield Publishing Group > > 4501 Forbes Boulevard > > Suite H > > Lanham, MD 20706 > > 301-459-3366 x.5010 > > fax 301-429-5748 > > > > ------------------------------------------------------------- > > This message is sent to you because you are subscribed to > > the mailing list . > > To unsubscribe, E-mail to: > > To switch to the DIGEST mode, E-mail to > > > > Web Archive of this list is at: http://webdna.smithmicro.com/ > > > > > ------------------------------------------------------------- > This message is sent to you because you are subscribed to > the mailing list . > To unsubscribe, E-mail to: > To switch to the DIGEST mode, E-mail to > Web Archive of this list is at: http://webdna.smithmicro.com/ > ------------------------------------------------------------- This message is sent to you because you are subscribed to the mailing list . To unsubscribe, E-mail to: To switch to the DIGEST mode, E-mail to Web Archive of this list is at: http://webdna.smithmicro.com/ Kalin Mintchev

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:

list problems (digest) (1998) Dubble Sku's in a Database (1999) t or f (1997) [WebDNA] Cicada - WebDNA_CICADA_6.1.b02 - gratz and request...! (2009) &FieldNametype=time unnecessary? (2000) Banner Ad example (Typhoon) and WebCatalog (1997) RE: Languages (1997) OSX b5 [listvariables] (2000) read and write you own cookies with webcat (1997) WebCatalog can't find database (1997) Nesting searches. (1998) My URL, Your URL (2002) E-mailer error codes (1997) OK, here goes... (1997) RE: EXTERNAL EMAIL: RE: [WebDNA] [BULK] SQL ODBC 00000 Error (2019) Template Encryption (1998) A few questions about server configuration (2000) WebCat2b13MacPlugIn - syntax to convert date (1997) 2.1 Stuff (1998) Re:no [search] with NT (1997)