[WebDNA] User sessions - cookies only or cookies and a sessions.db?

This WebDNA talk-list message is from

2016


It keeps the original formatting.
numero = 113076
interpreted = N
texte = 664 --001a113d5ecef465a0053f505caf Content-Type: text/plain; charset=UTF-8 Hi all, Got the user password issue resolved. Now on to user sessions. I looked in the archives and saw conversations between a lot of you regarding this topic. Ken found some issues with the encoding methods (other than base64) working properly. Some recommended using a sessions.db With the passage of time and enhancements made to WebDNA since then. I was wondering what the prevailing thoughts are on maintaining user sessions. I will most likely have a maximum of 20-25 users logged in at once. For most of their shift they won't be very active. their activities will pretty much follow the below: Login Display systems that need to be worked on for that shift (from a pre-defined search) Enter a key list for the vehicle keys they check out Open a ticket for the first system being worked on (creates work ticket to avoid losing any data) Close the ticket (updates work ticket) Repeat until shift is over Check keys back in from previous list. They may be occasionally searching the knowledge base I wrote in WebDNA. The one other thing, hence creating the work ticket on opening it, is that some of the techs will switch back and forth between their phones and tablets. I realize I can't carry the session from one device to another. I will set the session timeout to be 5-6 hours as the single longest task they might have to do is 3-4 hours long. I'm not as concerned as some were in the archive posts about security. I will encrypt the cookies or at least obfuscate them. I won't store the username and password in clear text. I'm curious as to what pros and cons you have found with either method. Thank you for your insight. Dale --001a113d5ecef465a0053f505caf Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable
Hi all,

Got the user password issue res= olved. Now on to user sessions.

I looked in the ar= chives and saw conversations between a lot of you regarding this topic. Ken= found some issues with the encoding methods (other than base64) working pr= operly. Some recommended using a sessions.db

With = the passage of time and enhancements made to WebDNA since then. I was wonde= ring what the prevailing thoughts are on maintaining user sessions.=C2=A0

I will most likely have a maximum of 20-25 users lo= gged in at once. For most of their shift they won't be very active. the= ir activities will pretty much follow the below:

L= ogin
Display systems that need to be worked on for that shift (fr= om a pre-defined search)
Enter a key list for the vehicle keys th= ey check out
Open a ticket for the first system being worked on (= creates work ticket to avoid losing any data)
Close the ticket (u= pdates work ticket)=C2=A0

Repeat until shift is ov= er

Check keys back in from previous list.

They may be occasionally searching the knowledge base I wr= ote in WebDNA.

The one other thing, hence creating= the work ticket on opening it, is that some of the techs will switch back = and forth between their phones and tablets. I realize I can't carry the= session from one device to another.=C2=A0

I will = set the session timeout to be 5-6 hours as the single longest task they mig= ht have to do is 3-4 hours long.

I'm not as co= ncerned as some were in the archive posts about security. I will encrypt th= e cookies or at least obfuscate them. I won't store the username and pa= ssword in clear text.=C2=A0


I'm= curious as to what pros and cons you have found with either method.=C2=A0<= /div>

Thank you for your insight.

Dale

--------------------------------------------------------- This message is sent to you because you are subscribed to the mailing list . To unsubscribe, E-mail to: archives: http://mail.webdna.us/list/talk@webdna.us Bug Reporting: support@webdna.us --001a113d5ecef465a0053f505caf-- . Associated Messages, from the most recent to the oldest:

    
  1. Re: [WebDNA] User sessions - cookies only or cookies and a sessions.db? (dale 2016)
  2. Re: [WebDNA] User sessions - cookies only or cookies and a sessions.db? (dale 2016)
  3. Re: [WebDNA] User sessions - cookies only or cookies and a sessions.db? (christophe.billiottet@webdna.us 2016)
  4. Re: [WebDNA] User sessions - cookies only or cookies and a sessions.db? (christophe.billiottet@webdna.us 2016)
  5. Re: [WebDNA] User sessions - cookies only or cookies and a sessions.db? (christophe.billiottet@webdna.us 2016)
  6. Re: [WebDNA] User sessions - cookies only or cookies and a sessions.db? (Donovan Brooke 2016)
  7. Re: [WebDNA] User sessions - cookies only or cookies and a sessions.db? (Tom Duke 2016)
  8. Re: [WebDNA] User sessions - cookies only or cookies and a sessions.db? (christophe.billiottet@webdna.us 2016)
  9. Re: [WebDNA] User sessions - cookies only or cookies and a sessions.db? (Donovan Brooke 2016)
  10. Re: [WebDNA] User sessions - cookies only or cookies and a sessions.db? (Tom Duke 2016)
  11. Re: [WebDNA] User sessions - cookies only or cookies and a sessions.db? (christophe.billiottet@webdna.us 2016)
  12. Re: [WebDNA] User sessions - cookies only or cookies and a sessions.db? (christophe.billiottet@webdna.us 2016)
  13. Re: [WebDNA] User sessions - cookies only or cookies and a sessions.db? (christophe.billiottet@webdna.us 2016)
  14. Re: [WebDNA] User sessions - cookies only or cookies and a sessions.db? (christophe.billiottet@webdna.us 2016)
  15. Re: [WebDNA] User sessions - cookies only or cookies and a sessions.db? (Donovan Brooke 2016)
  16. Re: [WebDNA] User sessions - cookies only or cookies and a sessions.db? (Tom Duke 2016)
  17. Re: [WebDNA] User sessions - cookies only or cookies and a sessions.db? (christophe.billiottet@webdna.us 2016)
  18. [WebDNA] User sessions - cookies only or cookies and a sessions.db? (dale 2016)
664 --001a113d5ecef465a0053f505caf Content-Type: text/plain; charset=UTF-8 Hi all, Got the user password issue resolved. Now on to user sessions. I looked in the archives and saw conversations between a lot of you regarding this topic. Ken found some issues with the encoding methods (other than base64) working properly. Some recommended using a sessions.db With the passage of time and enhancements made to WebDNA since then. I was wondering what the prevailing thoughts are on maintaining user sessions. I will most likely have a maximum of 20-25 users logged in at once. For most of their shift they won't be very active. their activities will pretty much follow the below: Login Display systems that need to be worked on for that shift (from a pre-defined search) Enter a key list for the vehicle keys they check out Open a ticket for the first system being worked on (creates work ticket to avoid losing any data) Close the ticket (updates work ticket) Repeat until shift is over Check keys back in from previous list. They may be occasionally searching the knowledge base I wrote in WebDNA. The one other thing, hence creating the work ticket on opening it, is that some of the techs will switch back and forth between their phones and tablets. I realize I can't carry the session from one device to another. I will set the session timeout to be 5-6 hours as the single longest task they might have to do is 3-4 hours long. I'm not as concerned as some were in the archive posts about security. I will encrypt the cookies or at least obfuscate them. I won't store the username and password in clear text. I'm curious as to what pros and cons you have found with either method. Thank you for your insight. Dale --001a113d5ecef465a0053f505caf Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable
Hi all,

Got the user password issue res= olved. Now on to user sessions.

I looked in the ar= chives and saw conversations between a lot of you regarding this topic. Ken= found some issues with the encoding methods (other than base64) working pr= operly. Some recommended using a sessions.db

With = the passage of time and enhancements made to WebDNA since then. I was wonde= ring what the prevailing thoughts are on maintaining user sessions.=C2=A0

I will most likely have a maximum of 20-25 users lo= gged in at once. For most of their shift they won't be very active. the= ir activities will pretty much follow the below:

L= ogin
Display systems that need to be worked on for that shift (fr= om a pre-defined search)
Enter a key list for the vehicle keys th= ey check out
Open a ticket for the first system being worked on (= creates work ticket to avoid losing any data)
Close the ticket (u= pdates work ticket)=C2=A0

Repeat until shift is ov= er

Check keys back in from previous list.

They may be occasionally searching the knowledge base I wr= ote in WebDNA.

The one other thing, hence creating= the work ticket on opening it, is that some of the techs will switch back = and forth between their phones and tablets. I realize I can't carry the= session from one device to another.=C2=A0

I will = set the session timeout to be 5-6 hours as the single longest task they mig= ht have to do is 3-4 hours long.

I'm not as co= ncerned as some were in the archive posts about security. I will encrypt th= e cookies or at least obfuscate them. I won't store the username and pa= ssword in clear text.=C2=A0


I'm= curious as to what pros and cons you have found with either method.=C2=A0<= /div>

Thank you for your insight.

Dale

--------------------------------------------------------- This message is sent to you because you are subscribed to the mailing list . To unsubscribe, E-mail to: archives: http://mail.webdna.us/list/talk@webdna.us Bug Reporting: support@webdna.us --001a113d5ecef465a0053f505caf-- . dale

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:

Product Comparison (2000) referrer and no caches (1997) Format question WC Mac f3 (1997) Help needed! (1998) Navigator 4.01 (1997) interesting (2003) Credit Card Verification.... (1998) Grep email addresses in bbedit or webdna ... (2003) Sunday [search] puzzler (1999) Calculating multiple shipping... (1997) Username/Password with [Protect] (2000) [SHOWNEXT] Examples (1997) Word wrapping (1997) [index] (1997) Protecting Files (how to display vs. present a link to (2005) textarea inputs and returns (1999) Bug alert! (1997) [OT] JS Libraries (2007) Setting up shop (1997) PCS Emailer's role ? (1997)