Re: session handling
This WebDNA talk-list message is from 2004
It keeps the original formatting.
numero = 57420
interpreted = N
texte = We wrote something like this for our content management system .. I decided not to use the orderfile system because it was overkill for storing a few pieces of information about the user .. and it's not based on cookies as sessions generally are ..I say go with the functions ..On 21/04/2004, at 7:43 AM, charles kline wrote:> hi all,>> i am in the middle of writing a whole set of functions to handle state > (not states) for a user session where values are stored in a text file > on the server and are available on each page through a set of > getSession and setSession functions... well... things are going along > pretty well, when I realized that this already sort of exists in the > form of the orderfile.>> 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).>> thoughts??>> if i bother writing these functions anyhow, is there any interest? > (they would of course only work with WebDNA v5 or greater)>> - charles> --> Charles Kline, President> (p) 856-608-7908> http://www.rightcode.net> "Do, or do not. There is no 'try'." - Yoda>>> -------------------------------------------------------------> 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:
We wrote something like this for our content management system .. I decided not to use the orderfile system because it was overkill for storing a few pieces of information about the user .. and it's not based on cookies as sessions generally are ..I say go with the functions ..On 21/04/2004, at 7:43 AM, charles kline wrote:> hi all,>> i am in the middle of writing a whole set of functions to handle state > (not states) for a user session where values are stored in a text file > on the server and are available on each page through a set of > getSession and setSession functions... well... things are going along > pretty well, when I realized that this already sort of exists in the > form of the orderfile.>> 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).>> thoughts??>> if i bother writing these functions anyhow, is there any interest? > (they would of course only work with WebDNA v5 or greater)>> - charles> --> Charles Kline, President> (p) 856-608-7908> http://www.rightcode.net> "Do, or do not. There is no 'try'." - Yoda>>> -------------------------------------------------------------> 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/
Alain Russell
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:
Replace context problem ... (1997)
textA and Title? (1997)
[search] in formulas.db (1997)
Online reference (1997)
WebCat2.0 [format thousands .0f] no go (1997)
Fun with dates (1997)
[delete] problem (1997)
Date field search needs ... (1998)
Trigger: Only on Saturday (2001)
is there a global includes directory? (1998)
NEW INFO: I'm stuck: Can't open order file. Ignoring[OrderFile] context (2000)
test (2000)
Slightly OT web* and Web Cat crashes (2000)
blank page from template (1997)
I've been thinking (2002)
Practice runs ? (1997)
Out of the woodwork (2007)
Emailer (WebCat2) (1997)
Need something like [listchars] ... (2000)
[BoldWords] WebCat.acgib15Mac (1997)