Re: [WebDNA] [session]

This WebDNA talk-list message is from

2018


It keeps the original formatting.
numero = 114279
interpreted = N
texte = 1884 --Apple-Mail=_E0E16475-8630-44A2-BDA7-ACFC0C425DD7 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=us-ascii Hi Richard I made extensive use of session for login and site security when I built = the eCom system. You need to push the session ID around either in the URL or as a form = variable.=20 Using a cookie is also possible I refuse to push things such as session id around in the url of customer = facing websites, it is OK in admin portals. Session does take a bit of getting your head around but it is a nice = feature. Kind regards Stuart Tremain Pharoah Lane Software AUSTRALIA webdna@plsoftware.com.au > On 1 Jun 2018, at 09:37, Richard Kwasniewski = wrote: >=20 > Is anyone using [session] for a login based system? > I was hoping to see a simple example in the docs somewhere. >=20 >=20 >=20 > I've been using the windows 6.2 server version of webdna. >=20 > Now that a fastcgi version is available in windows I'm dabbling with = the new tags that have come on board since 6.2 >=20 > I still use the [protect] tag on a few of my sites, since I'm the only = none who needs admin access. >=20 > I did create a cookie based login for a blogging site a while ago. >=20 > Would I use [sessions] in a similar way to what I did with a cookie = based login? >=20 > Check the reserved.db database for a session id and if it exists I = grant access to a page or pages?? >=20 > How would I validate a user as being OK from page to page? > Use showifs again checking the db like I did with cookies? > Or do I pass the session ID from page to page somehow >=20 >=20 > The docs just explained the tags. >=20 >=20 > Thanks in advance! >=20 >=20 >=20 >=20 > Richard > --------------------------------------------------------- This message = is sent to you because you are subscribed to the mailing list = talk@webdna.us To unsubscribe, E-mail to: talk-leave@webdna.us archives: = http://www.webdna.us/page.dna?numero=3D55 Bug Reporting: = support@webdna.us --Apple-Mail=_E0E16475-8630-44A2-BDA7-ACFC0C425DD7 Content-Transfer-Encoding: quoted-printable Content-Type: text/html; charset=us-ascii Hi = Richard

I made = extensive use of session for login and site security when I built the = eCom system.

You= need to push the session ID around either in the URL or as a form = variable. 

Using a cookie is also possible

I refuse to push things such as session = id around in the url of customer facing websites, it is OK in admin = portals.

Session= does take a bit of getting your head around but it is a nice = feature.


Kind regards

Stuart Tremain
Pharoah Lane Software
AUSTRALIA







On 1 Jun 2018, at 09:37, Richard Kwasniewski <richiekwas@gmail.com> wrote:

Is anyone using [session] for a login based system?
I was hoping to see a simple example in the docs = somewhere.



I've= been using the windows 6.2 server version of webdna.

Now that a fastcgi version is available = in windows I'm dabbling with the new tags that have come on board since = 6.2

I still = use the [protect] tag on a few of my sites, since I'm the only none who = needs admin access.

I did create a cookie based login for a blogging site a = while ago.

Would= I use [sessions] in a similar way to what I did with a cookie = based login?

Check the reserved.db database for a session id and if = it exists I grant access to a page or pages??

How would I validate a user as being OK = from page to page?
Use showifs again checking = the db like I did with cookies?
Or do I pass = the session ID from page to page somehow


The = docs just explained the tags.


Thanks in advance!




Richard
--------------------------------------------------------- This message is sent to you because you are subscribed to the mailing list talk@webdna.us To unsubscribe, E-mail to: talk-leave@webdna.us archives: http://www.webdna.us/page.dna?numero=3D55 Bug Reporting: support@webdna.us

= --------------------------------------------------------- This message is sent to you because you are subscribed to the mailing list talk@webdna.us To unsubscribe, E-mail to: talk-leave@webdna.us archives: http://www.webdna.us/page.dna?numero=3D55 Bug Reporting: support@webdna.us --Apple-Mail=_E0E16475-8630-44A2-BDA7-ACFC0C425DD7-- . Associated Messages, from the most recent to the oldest:

    
  1. [WebDNA] [SESSION] behind a CDN & Load Balance (Stuart Tremain 2019)
  2. Re: [WebDNA] [session] (Stuart Tremain 2018)
  3. [WebDNA] [session] (Richard Kwasniewski 2018)
  4. Re: [WebDNA] [session] (Kenneth Grome 2015)
  5. Re: [WebDNA] [session] (christophe.billiottet@webdna.us 2015)
  6. [WebDNA] [session] (Kenneth Grome 2015)
1884 --Apple-Mail=_E0E16475-8630-44A2-BDA7-ACFC0C425DD7 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=us-ascii Hi Richard I made extensive use of session for login and site security when I built = the eCom system. You need to push the session ID around either in the URL or as a form = variable.=20 Using a cookie is also possible I refuse to push things such as session id around in the url of customer = facing websites, it is OK in admin portals. Session does take a bit of getting your head around but it is a nice = feature. Kind regards Stuart Tremain Pharoah Lane Software AUSTRALIA webdna@plsoftware.com.au > On 1 Jun 2018, at 09:37, Richard Kwasniewski = wrote: >=20 > Is anyone using [session] for a login based system? > I was hoping to see a simple example in the docs somewhere. >=20 >=20 >=20 > I've been using the windows 6.2 server version of webdna. >=20 > Now that a fastcgi version is available in windows I'm dabbling with = the new tags that have come on board since 6.2 >=20 > I still use the [protect] tag on a few of my sites, since I'm the only = none who needs admin access. >=20 > I did create a cookie based login for a blogging site a while ago. >=20 > Would I use [sessions] in a similar way to what I did with a cookie = based login? >=20 > Check the reserved.db database for a session id and if it exists I = grant access to a page or pages?? >=20 > How would I validate a user as being OK from page to page? > Use showifs again checking the db like I did with cookies? > Or do I pass the session ID from page to page somehow >=20 >=20 > The docs just explained the tags. >=20 >=20 > Thanks in advance! >=20 >=20 >=20 >=20 > Richard > --------------------------------------------------------- This message = is sent to you because you are subscribed to the mailing list = talk@webdna.us To unsubscribe, E-mail to: talk-leave@webdna.us archives: = http://www.webdna.us/page.dna?numero=3D55 Bug Reporting: = support@webdna.us --Apple-Mail=_E0E16475-8630-44A2-BDA7-ACFC0C425DD7 Content-Transfer-Encoding: quoted-printable Content-Type: text/html; charset=us-ascii Hi = Richard

I made = extensive use of session for login and site security when I built the = eCom system.

You= need to push the session ID around either in the URL or as a form = variable. 

Using a cookie is also possible

I refuse to push things such as session = id around in the url of customer facing websites, it is OK in admin = portals.

Session= does take a bit of getting your head around but it is a nice = feature.


Kind regards

Stuart Tremain
Pharoah Lane Software
AUSTRALIA







On 1 Jun 2018, at 09:37, Richard Kwasniewski <richiekwas@gmail.com> wrote:

Is anyone using [session] for a login based system?
I was hoping to see a simple example in the docs = somewhere.



I've= been using the windows 6.2 server version of webdna.

Now that a fastcgi version is available = in windows I'm dabbling with the new tags that have come on board since = 6.2

I still = use the [protect] tag on a few of my sites, since I'm the only none who = needs admin access.

I did create a cookie based login for a blogging site a = while ago.

Would= I use [sessions] in a similar way to what I did with a cookie = based login?

Check the reserved.db database for a session id and if = it exists I grant access to a page or pages??

How would I validate a user as being OK = from page to page?
Use showifs again checking = the db like I did with cookies?
Or do I pass = the session ID from page to page somehow


The = docs just explained the tags.


Thanks in advance!




Richard
--------------------------------------------------------- This message is sent to you because you are subscribed to the mailing list talk@webdna.us To unsubscribe, E-mail to: talk-leave@webdna.us archives: http://www.webdna.us/page.dna?numero=3D55 Bug Reporting: support@webdna.us

= --------------------------------------------------------- This message is sent to you because you are subscribed to the mailing list talk@webdna.us To unsubscribe, E-mail to: talk-leave@webdna.us archives: http://www.webdna.us/page.dna?numero=3D55 Bug Reporting: support@webdna.us --Apple-Mail=_E0E16475-8630-44A2-BDA7-ACFC0C425DD7-- . Stuart Tremain

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:

Setting up shop (1997) Call for Help (2000) WebStar WebCat Crashing a lot (2004) Webstar 1.3.1 PPC (1997) SendTo more emails (1998) show all problem (1997) emailer (1997) WebCatalog for Postcards ? (1997) Re: (1997) ups (1999) Wrapping text (1998) WebCat2b13MacPlugIn - [include] doesn't allow creator (1997) Generating unique SKU from [cart] - Still Stumped... (1997) WebSTAR 2.1 freezes my Mac (1997) setting line item numbers (1998) Re:Emailer and encryption (1997) Bug or syntax error on my part? (1997) More on the email templates (1997) Looking up two prices in database? (1997) Emailer.Out (1998)