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:

Hiding HTML and breaking the page (1997) WebCat2 - [format thousands] (1997) Showif, Hideif reverse logic ? (1997) WebCatalog2 Feature Feedback (1996) presetting variables ... (2000) [WebDNA] RESTART WebDNA (2016) pictures / referrer etc. (1998) Form Variables (2000) WebCat2: multiple currency support (1997) rotating thumbnails (1997) Quickie question on the email templates (1997) Fun with Dates - any progress? (1997) [cart] number range ?? (2001) Formvariable won't update (1999) Search all Fields in a db (1997) Encrypting the seed (2001) Purchased cart being overwritten - still !?? (1997) ShipCost Problems (1998) Understanding variables (1999) Locking up with WebCatalog... (1997)