Re: Cookie Problems

This WebDNA talk-list message is from

2000


It keeps the original formatting.
numero = 31666
interpreted = N
texte = 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 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)
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 Maurice Rickard

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:

[WebDNA] Screen Resolution - detection & redirect (2012) [WebDNA] how can i grab the contents of a post? (2011) WebTen Type 2 Crash on start (2000) RAM variables (1997) Is this too many webcat processes? (I don't know how to read this) (2000) WC2b15 File Corruption (1997) More on the email templates (1997) an easy one... (2000) Fun with Dates - revisited (1997) Date search and sendmail (1997) Sort Order on a page search (1997) PhotoMill -> PhotoMaster (1997) [WebDNA] [replace] bug in v7.0? (2010) Change Subtotal (2000) Context and commands (1998) Can't add a field (1998) ImageMap (1997) SSL and WebCatalog (1997) WebCatalog2 Feature Feedback (1996) FAX orders (1996)