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:

Uniqueness of [cart] (was Number of cars in cart...) (2004) Error.html (1997) What really killed WebDNA? (2007) Double Spacing in Mails from Sendmail (2002) Drop Down Menus (2002) how to do multiple prices/item? (1998) Comments in db? (1997) delete and return to founditems (2002) One more browser problem to watch out for... (1997) Error Log.db --however (1997) New Site Announcement (1998) retail integration (2000) Java Path (2004) NT Version on IIS 4.0 (1997) system crashes, event log (1997) Variables (1999) Date search - yes or no (1997) RE: Major Security Hole IIS NT (1998) Re:need help please (1997) Date Formats (1997)