Re: Show items based on login Password

This WebDNA talk-list message is from

2003


It keeps the original formatting.
numero = 50815
interpreted = N
texte = Dan Braley wrote:>I am setting up a site to be used in a production environment. >I would like to have it show only items that correspond with a person's >login and password. > It depends on how you are logging people in.>In the products db, I have a field that is unique to each person, Say a >number value. > Not that I would do things exactly like you are doing but...[text]theuser=[orderfile cart=[cart]][header1-40][/orderfile][/text] [!]...you would write the value of customer to the header via setheader... This is the same value within the products.db. [/!] or [text]theuser=[getcookie seed=someseed]user[/getcookie][/text] [!]..In the case a cookie is used instead [/!][/!]Then you can show different things to diffferent users. [/!][search db=products.db&woDESCRIPTIONdatarq=[url][keywords[/url]&eqTHEUSERFIELDdatarq=[theuser]] [founditems][/founditems] [/search]Donovan>I know I need to incorporate [showif]. I was wondering if anyone has done >this yet? >I was not able to find it in the archives. Sorry, I am kind of new at this. > > > >Thank You, > >Dan Braley > > > > ------------------------------------------------------------- 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:

    
  1. Re: Show items based on login Password (Dan Braley 2003)
  2. Re: IOD | WAS:[Re: Show items based on login Password] (Donovan 2003)
  3. Re: IOD | WAS:[Re: Show items based on login Password] (Gary Krockover 2003)
  4. Now: IOD | WAS:[Re: Show items based on login Password] (Donovan 2003)
  5. Re: Show items based on login Password (Gary Krockover 2003)
  6. Re: Show items based on login Password (marc@kaiwi.com (Marc Kaiwi) 2003)
  7. Re: Show items based on login Password (Alex McCombie 2003)
  8. Re: Show items based on login Password (marc@kaiwi.com (Marc Kaiwi) 2003)
  9. Re: Show items based on login Password (Alex McCombie 2003)
  10. Re: Show items based on login Password (Alex McCombie 2003)
  11. Re: Show items based on login Password (WJ Starck 2003)
  12. Re: Show items based on login Password (Alex McCombie 2003)
  13. Re: Show items based on login Password (Alex McCombie 2003)
  14. Re: Show items based on login Password (WJ Starck 2003)
  15. Re: Show items based on login Password (WJ Starck 2003)
  16. Re: Show items based on login Password (Alex McCombie 2003)
  17. Re: Show items based on login Password (Kenneth Grome 2003)
  18. Re: Show items based on login Password (Donovan 2003)
  19. Re: Show items based on login Password (Donovan 2003)
  20. Re: Show items based on login Password (Alex McCombie 2003)
  21. Re: Show items based on login Password (Donovan 2003)
  22. Re: Show items based on login Password (Alex McCombie 2003)
  23. Re: Show items based on login Password (WJ Starck 2003)
  24. Show items based on login Password (Dan Braley 2003)
Dan Braley wrote:>I am setting up a site to be used in a production environment. >I would like to have it show only items that correspond with a person's >login and password. > It depends on how you are logging people in.>In the products db, I have a field that is unique to each person, Say a >number value. > Not that I would do things exactly like you are doing but...[text]theuser=[orderfile cart=[cart]][header1-40][/orderfile][/text] [!]...you would write the value of customer to the header via setheader... This is the same value within the products.db. [/!] or [text]theuser=[getcookie seed=someseed]user[/getcookie][/text] [!]..In the case a cookie is used instead [/!][/!]Then you can show different things to diffferent users. [/!][search db=products.db&woDESCRIPTIONdatarq=[url][keywords[/url]&eqTHEUSERFIELDdatarq=[theuser]] [founditems][/founditems] [/search]Donovan>I know I need to incorporate [showif]. I was wondering if anyone has done >this yet? >I was not able to find it in the archives. Sorry, I am kind of new at this. > > > >Thank You, > >Dan Braley > > > > ------------------------------------------------------------- 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/ Donovan

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:

WebCat2b14MacPlugIn - [include] doesn't hide the search string (1997) Search returns all, not 20 (1997) WebCatalog [FoundItems] Problem - AGAIN - (1997) For those of you not on the WebCatalog Beta... (1997) URL for Discussion Archive (1997) SetHeader not Working (2006) Help formatting search results w/ table (1997) [WebDNA] Getting to know ARRAY (2014) Re:quit command on NT (1997) Where is f2? (1997) PCS Frames (1997) [search] & [encrypt]/[decrypt] (2001) Custom error files (1998) Anyone with a solution for this? (2001) [WAY OFF TOPIC] anybody live in Kansas? (2003) WebCat2b15MacPlugin - showing [math] (1997) Teaching Help! (2000) Field Totals (2004) japanese characters (1997) possible, WebCat2.0 and checkboxes-restated (1997)