Re: login via cookies
This WebDNA talk-list message is from 2006
It keeps the original formatting.
numero = 67082
interpreted = N
texte = You could also use the shopping cart system to track logins - do a [setheader] to write a successful login indicator to the cart and verify it by doing an [orderfile]. The cart # then becomes their 'sessionID' so to speak . This technique eliminates the need for cookies. -DanOn Sun, 7 May 2006 08:07:08 -0700 (PDT) Lester
wrote:> I'm wanting to migrate a couple sites that use browser> based authentication for users to login and post blogs> etc, but I'm a little confused by the process.....> > After I search the db and they have in fact entered> the correct user/pass I do:> > [SETCOOKIE> name=siteblogger&value=[cart]&domain=site.com]> Blogger Admin> > Am I then incorporating the cookie just set within> MemberChecker on all other protected pages to see if> it exists and if so they continue onward???> > ....or another way> > Is using [cart] as a cookie a good idea?> > Anyone have some simple example code with cookies for> login???> > > > OT> My thoughts on webdna versus php etc....> Webdna serves my purposes well, and its ease of use is> key, but snippets, examples, etc are always difficult> to come by. > > It's always create from scratch, which works, but> having a bunch of ready made apps or pages to see and> change (like the many many php snippets those sites> have) would me a huge aid in using it further for many> newbies I'm thinkin'.> > Everyone loves a jump start at times.> > > > > > __________________________________________________> Do You Yahoo!?> Tired of spam? Yahoo! Mail has the best spam protection around > http://mail.yahoo.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/-------------------------------------------------------------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:
You could also use the shopping cart system to track logins - do a [setheader] to write a successful login indicator to the cart and verify it by doing an [orderfile]. The cart # then becomes their 'sessionID' so to speak . This technique eliminates the need for cookies. -DanOn Sun, 7 May 2006 08:07:08 -0700 (PDT) Lester wrote:> I'm wanting to migrate a couple sites that use browser> based authentication for users to login and post blogs> etc, but I'm a little confused by the process.....> > After I search the db and they have in fact entered> the correct user/pass I do:> > [SETCOOKIE> name=siteblogger&value=[cart]&domain=site.com]> Blogger Admin> > Am I then incorporating the cookie just set within> MemberChecker on all other protected pages to see if> it exists and if so they continue onward???> > ....or another way> > Is using [cart] as a cookie a good idea?> > Anyone have some simple example code with cookies for> login???> > > > OT> My thoughts on webdna versus php etc....> Webdna serves my purposes well, and its ease of use is> key, but snippets, examples, etc are always difficult> to come by. > > It's always create from scratch, which works, but> having a bunch of ready made apps or pages to see and> change (like the many many php snippets those sites> have) would me a huge aid in using it further for many> newbies I'm thinkin'.> > Everyone loves a jump start at times.> > > > > > __________________________________________________> Do You Yahoo!?> Tired of spam? Yahoo! Mail has the best spam protection around > http://mail.yahoo.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/-------------------------------------------------------------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/
"Dan Strong"
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:
[OT] What System Software? (2003)
Netinfo... (2002)
WebCat2b13MacPlugIn - [showif][search][/showif] (1997)
WebCat2b15MacPlugin - showing [math] (1997)
Claris HomePage messes up the code (1997)
I can help! (1996)
WCS Newbie question (1997)
MacWEEK article help needed (1996)
Cart problem (1999)
Security Hole - NetCloak Update (1998)
Cart questions (1997)
Problems with store (1998)
So many lookers, hey smith micro (2003)
Search Result refinement help (2003)
PCS Frames-Default page is solution! (1997)
Multiple Pulldowns (1997)
WebTen Type 2 Crash on start (2000)
[format xs] freeze (1997)
PROBLEM (1997)
Re1000001: Setting up shop (1997)