Re: If set cookie doesn't work.

This WebDNA talk-list message is from

2000


It keeps the original formatting.
numero = 35881
interpreted = N
texte = Marc, sorry I don't know why the trouble, but one little thing I noticed (that may have nothing to do with your troubles) -you might want to use something other than 'setcookie' as the name for that var/flag whose value you use to compare against T to possibly evaluate your [showif]. When you use var names that are the same as webcat tags then you just ask for trouble. This may or may not apply in this case.-JohnMARC MALACARME wrote:> Hi all, > > Webcat 4.0, G3, Webstar 4.2 > > I can't get cookies to work on all browsers and platforms. Actually I > can't get cookies to work on anything but netscape 4.71. > What can I possibly be doing wrong? Is it possible that the domain name > is not being recognized by the browser properly. Could this be somekind > of network voodoo and not code related? > > If I can't get cookies to work with [setcookie value] then does anyone > know the java to set multiple cookie and then the java to get such > cookies returned. > It's amazing that I built my whole site with a customgroupchecker and > now realize that 90% of the prople can't access it. > > here's my code: > > [showif [setcookie]=T] > [SETCOOKIE name=sku&value=[lookup > db=customer.db&lookinField=user&value=[uppercase][__user][/uppercase]&returnField=sku]&expires=&path=/&domain=www.mydomain.com] > > [SETCOOKIE > name=pas&value=[uppercase][__pass][/uppercase]&expires=&path=/&domain=www.mydomain.com] > > [SETCOOKIE > name=use&value=[__user]&expires=&path=/&domain=www.mydomain.com] > [SETCOOKIE name=grp&value=[lookup > db=customer.db&lookinField=user&value=[uppercase][__user][/uppercase]&returnField=groups]&expires=&path=/&domain=www.mydomaincom] > > [/showif] > > Thanks > > Me Desperate > > ------------------------------------------------------------- > 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://search.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://search.smithmicro.com/ Associated Messages, from the most recent to the oldest:

    
  1. Re: If set cookie doesn't work. (John Butler 2000)
  2. If set cookie doesn't work. (MARC MALACARME 2000)
Marc, sorry I don't know why the trouble, but one little thing I noticed (that may have nothing to do with your troubles) -you might want to use something other than 'setcookie' as the name for that var/flag whose value you use to compare against T to possibly evaluate your [showif]. When you use var names that are the same as webcat tags then you just ask for trouble. This may or may not apply in this case.-JohnMARC MALACARME wrote:> Hi all, > > Webcat 4.0, G3, Webstar 4.2 > > I can't get cookies to work on all browsers and platforms. Actually I > can't get cookies to work on anything but netscape 4.71. > What can I possibly be doing wrong? Is it possible that the domain name > is not being recognized by the browser properly. Could this be somekind > of network voodoo and not code related? > > If I can't get cookies to work with [setcookie value] then does anyone > know the java to set multiple cookie and then the java to get such > cookies returned. > It's amazing that I built my whole site with a customgroupchecker and > now realize that 90% of the prople can't access it. > > here's my code: > > [showif [setcookie]=T] > [SETCOOKIE name=sku&value=[lookup > db=customer.db&lookinField=user&value=[uppercase][__user][/uppercase]&returnField=sku]&expires=&path=/&domain=www.mydomain.com] > > [SETCOOKIE > name=pas&value=[uppercase][__pass][/uppercase]&expires=&path=/&domain=www.mydomain.com] > > [SETCOOKIE > name=use&value=[__user]&expires=&path=/&domain=www.mydomain.com] > [SETCOOKIE name=grp&value=[lookup > db=customer.db&lookinField=user&value=[uppercase][__user][/uppercase]&returnField=groups]&expires=&path=/&domain=www.mydomaincom] > > [/showif] > > Thanks > > Me Desperate > > ------------------------------------------------------------- > 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://search.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://search.smithmicro.com/ John Butler

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:

Authenticating users without dialog box (1997) sendmail spaces (1997) Problems passing [SKU] with $Replace in 2.0 (1997) # of real domains on 1 web server (1997) WebCatalog for guestbook ? (1997) UPS Online (2004) Email Problem (1997) Help!!!! Purchases not going through! FIXED! (1997) Email problem (1998) GuestBook example (1997) WCS Newbie question (1997) [WebDNA] Question on table search (2011) WebCat2 several catalogs? (1997) WebCat2 - [format thousands] (1997) form data submission gets truncated (1997) multi-paragraph fields (1997) [WebDNA] An actual attempt to get WebDNA and MAMP Pro to work - (2018) Using Applescript to process WebCatalog functions (1998) WebDNA color code chart - oops (2002) Practical Uses (2003)