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:
WebCat2b15MacPlugin - showing [math] (1997)
[replaceChars] would be nice ... (1997)
a search based on ^(contains) (1998)
[TCPSend] and whois? (1999)
Subtotal Not Calculated on Invoice.html (1998)
database files in secure folder (1997)
Secure Server (1997)
Multiple catalog databases and showcart (1997)
WebCat b15 Mac plug-in (1997)
Nav. 4 probs with cart (1997)
WebCat2b13MacPlugIn - [include] doesn't allow creator (1997)
ShipCost Data Base (1998)
page redirect in webDNA (1997)
Secure server question (1997)
select multiple 2 more cents (1997)
Practice runs ? (1997)
many-to-one problem (1998)
http://www.smithmicro.com/WebDNAReference/ current? (2000)
form data submission gets truncated (1997)
hmmm (2006)