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:
emailer (1997)
[url] (1997)
locking variables? (2000)
more info on [setlineitems] (1997)
WC Database Format (1997)
Include (1998)
[ot] ShowIf & HideIf Question (1998)
WebCat2 - Getting to the browser's username/password data (1997)
Bad URL reference? (1997)
createfolder permissions (2003)
Showing once on a founditems (1997)
Bulk Processing Offline (2004)
Extended [ConvertChars] (1997)
Database Structuring (again) (2003)
Fun with Dates - finally resolved but.... (1997)
Getting total number of items ordered (1997)
WebCatalog2 Feature Feedback (1996)
WebDelivery Self-Destruct Timer (2000)
Country & Ship-to address & other fields ? (1997)
Running 2 two WebCatalog.acgi's (1996)