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:

Generating Report Totals (1997) Add to Cart & List of Products (1997) Middle Context (2002) Re2: frames & carts (1997) WebCat b13 CGI -shownext- (1997) Templates on Unix & CGI on Mac? (1997) Auto Date (2001) Searching for a Blank Field (2000) can WC render sites out? (1997) Applescript error (1998) Discounting prices across a site (1997) Shipping formula problem (1997) Help name our technology! I found it (1997) Problems setting MIME Headers (1998) The Depths of Credit Card Payment (2003) http or https? (2001) attn: smitmicro - cart limitation (2002) Find all in search. (2002) New command suggestion (was Modifying databasesmanually) (1997) [WebDNA] mod_deflate and webdna (2017)