Re: Cookie Problems

This WebDNA talk-list message is from

2000


It keeps the original formatting.
numero = 31669
interpreted = N
texte = Thanks!-----Original Message----- From: WebCatalog Talk [mailto:WebDNA-Talk@talk.smithmicro.com]On Behalf Of Maurice Rickard Sent: Tuesday, May 09, 2000 4:58 PM To: WebCatalog Talk Subject: Re: Cookie Problems At 4:49 PM 5/9/00, Alex Cheparev wrote: >The cookie doesn't work, I see the cookie on my hard drive, but the browser >still asks me for a password. > >Can anyone please help? > >[listcookies] >[hideif CookieName=[name]&CookiePassword=[decrypt >seed=SeedValue][value][/decrypt]] >[protect ifmagny] >[setcookie name=CookieName&value=[encrypt >seed=SeedValue]CookiePassword[/encrypt]&expires=[date %A, %d-%b-][math][date >%Y]+5[/math] [date %H:%M:%S] GMT&path=/&domain=www.domain.com] >[/hideif] >[/listcookies] Cookies can generally hold only 7-bit characters. When you try to put higher stuff in them, such as with encrypt, things are going to break. Ordinarily you'd think that you should then wrap the whole [encrypt][/encrypt] context in an [url][/url], and you'd be half-right. You need to wrap the encrypt context in _two_ [url][/url] contexts, because otherwise it'll unURL itself right away.Here's your context:[setcookie name=CookieName&value=[url][url][encrypt seed=SeedValue]CookiePassword[/encrypt][/url][/url] &expires=[date %A, %d-%b-][math][date %Y]+5[/math] [date %H:%M:%S] GMT&path=/&domain=www.domain.com]-- Maurice Rickard http://GreenMarketplace.com/ Natural products for you and your planet.------------------------------------------------------------- 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 ------------------------------------------------------------- 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 Associated Messages, from the most recent to the oldest:

    
  1. Re: Deleting Cookie Problems ( Eddie Z 2007)
  2. Re: Deleting Cookie Problems ( Donovan Brooke 2007)
  3. Re: Deleting Cookie Problems ( Donovan Brooke 2007)
  4. Re: Deleting Cookie Problems ( Eddie Z 2007)
  5. Re: Deleting Cookie Problems ( Donovan Brooke 2007)
  6. Re: Deleting Cookie Problems ( Eddie Z 2007)
  7. Re: Deleting Cookie Problems ( Chris 2007)
  8. Deleting Cookie Problems ( Eddie Z 2007)
  9. Re: Cookie problems using Mozilla and Camino browsers ( "Sal" 2004)
  10. Re: Cookie problems using Mozilla and Camino browsers ( Palle Bo Nielsen 2004)
  11. Re: Cookie problems using Mozilla and Camino browsers ( Glenn Busbin 2004)
  12. Re: Cookie problems using Mozilla and Camino browsers ( Palle Bo Nielsen 2004)
  13. Re: Cookie problems using Mozilla and Camino browsers ( Tim Robinson 2004)
  14. Cookie problems using Mozilla and Camino browsers ( Palle Bo Nielsen 2004)
  15. Re: SETCOOKIE Problems (Nitai @ ComputerOil 2003)
  16. Re: SETCOOKIE Problems (Donovan home EHG 2003)
  17. Re: SETCOOKIE Problems (WebDna @ 2003)
  18. SETCOOKIE Problems (Justin Carroll 2003)
  19. Re: Cookie Problems (Alex Cheparev 2000)
  20. Re: Cookie Problems (WebDNA Support 2000)
  21. Re: Cookie Problems (John Butler 2000)
  22. Re: Cookie Problems (Alex Cheparev 2000)
  23. Re: Cookie Problems (Alex Cheparev 2000)
  24. Re: Cookie Problems (Maurice Rickard 2000)
  25. Cookie Problems (Alex Cheparev 2000)
  26. cookie problems (Mike Eberly 1999)
Thanks!-----Original Message----- From: WebCatalog Talk [mailto:WebDNA-Talk@talk.smithmicro.com]On Behalf Of Maurice Rickard Sent: Tuesday, May 09, 2000 4:58 PM To: WebCatalog Talk Subject: Re: Cookie Problems At 4:49 PM 5/9/00, Alex Cheparev wrote: >The cookie doesn't work, I see the cookie on my hard drive, but the browser >still asks me for a password. > >Can anyone please help? > >[listcookies] >[hideif CookieName=[name]&CookiePassword=[decrypt >seed=SeedValue][value][/decrypt]] >[protect ifmagny] >[setcookie name=CookieName&value=[encrypt >seed=SeedValue]CookiePassword[/encrypt]&expires=[date %A, %d-%b-][math][date >%Y]+5[/math] [date %H:%M:%S] GMT&path=/&domain=www.domain.com] >[/hideif] >[/listcookies] Cookies can generally hold only 7-bit characters. When you try to put higher stuff in them, such as with encrypt, things are going to break. Ordinarily you'd think that you should then wrap the whole [encrypt][/encrypt] context in an [url][/url], and you'd be half-right. You need to wrap the encrypt context in _two_ [url][/url] contexts, because otherwise it'll unURL itself right away.Here's your context:[setcookie name=CookieName&value=[url][url][encrypt seed=SeedValue]CookiePassword[/encrypt][/url][/url] &expires=[date %A, %d-%b-][math][date %Y]+5[/math] [date %H:%M:%S] GMT&path=/&domain=www.domain.com]-- Maurice Rickard http://GreenMarketplace.com/ Natural products for you and your planet.------------------------------------------------------------- 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 ------------------------------------------------------------- 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 Alex Cheparev

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:

Mac 2.1b4 unknown error: BadSuffix (1997) Return records from another (1997) [WebDNA] Wishlist: ignore whitespace in database changes (2016) [OT] Display Glitch (2004) Shopping Cart Deletion (2000) Area codes? (2001) PIXO support (1997) Replace Missing Images (2003) WebCat2b13MacPlugin - nested [xxx] contexts (1997) 4D Database (1997) Next (1997) Lookup Notfound (1998) 2.0Beta Command Ref (can't find this instruction) (1997) Archives... (1997) Help! WebCat2 bug (1997) [WebDNA] Finding duplicate emails in a large database (2016) Limiting user access to .tmpl files (1997) Pipes instead of tabs (1998) [OT] Test - THE ANSWER _ The winner is .... (2003) Help!!!! (1997)