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:

Questions about maximum (1999) Nested tags count question (1997) Exclamation point (1997) Banner system (2000) Server capacity (2003) Creating a folder with WebCat? (2000) WebCatalog can't find database (1997) [WriteFile] problems (1997) Images generated by a web dna database (2003) many-to-one problem (1998) Re:2nd WebCatalog2 Feature Request (1996) Banners (1997) Forms Search Questions (1997) Processing all html files through WebCat or Typhoon (1998) Date fun with MySQL (2004) Privacy Issue (Built in sniffer) (2003) [WebDNA] 301 redirect (2016) Part Html part WebDNA (1997) [ReturnRaw] and hiding FORM data (2003) Quickie question on the email templates (1997)