Cookies-last one

This WebDNA talk-list message is from

1999


It keeps the original formatting.
numero = 24742
interpreted = N
texte = Josh- thanks for helping me get this up and running...;)What I'm trying to do is allow the user to log back on to the site during the same browser session to check the status of their order.Currently, I do the following as an include (checkcookies.inc) on the top of any entry page:[Showif [GetCookie SessionID]=] [SetCookie name=SessionID&value=[cart]&path=/&domain=mydomain.com] [/Showif]Then, on the ThankYou page, I do the following:[SetCookie name=SessionID&value=&path=/&domain=mydomain.com]Then, since I can't Set and Get a cookie on the same page, I place a link on the ThankYou page to a page OrderStatus.tpl with the following code, which redirects to Login.tpl:[Showif [GetCookie SessionID]=] [SetCookie name=SessionID&value=[cart]&path=/&domain=mydomain.com] [/Showif] [redirect http://www.mydomain.com/login.tpl]OK, all of this works as expected. It creates a new SessionID cookie whose value is a new cart#.But, when the user attempts to logon (during the same browser session), WebCat gives me the following:Error: could not create shopping cart file in ShoppingCarts folder. Folder may not existWebCat 3.0512 MacOSX iTools 5.006 Apache 1.3.9???TIA,Will ------------------------------------------------------------- Brought to you by CommuniGate Pro - The Buzz Word Compliant Messaging Server. To end your Mail problems go 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. Cookies-last one (Will Starck 1999)
Josh- thanks for helping me get this up and running...;)What I'm trying to do is allow the user to log back on to the site during the same browser session to check the status of their order.Currently, I do the following as an include (checkcookies.inc) on the top of any entry page:[Showif [GetCookie SessionID]=] [SetCookie name=SessionID&value=[cart]&path=/&domain=mydomain.com] [/Showif]Then, on the ThankYou page, I do the following:[SetCookie name=SessionID&value=&path=/&domain=mydomain.com]Then, since I can't Set and Get a cookie on the same page, I place a link on the ThankYou page to a page OrderStatus.tpl with the following code, which redirects to Login.tpl:[Showif [GetCookie SessionID]=] [SetCookie name=SessionID&value=[cart]&path=/&domain=mydomain.com] [/Showif] [redirect http://www.mydomain.com/login.tpl]OK, all of this works as expected. It creates a new SessionID cookie whose value is a new cart#.But, when the user attempts to logon (during the same browser session), WebCat gives me the following:Error: could not create shopping cart file in ShoppingCarts folder. Folder may not existWebCat 3.0512 MacOSX iTools 5.006 Apache 1.3.9???TIA,Will ------------------------------------------------------------- Brought to you by CommuniGate Pro - The Buzz Word Compliant Messaging Server. To end your Mail problems go 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 Will Starck

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:

new cart IDs being assigned somehow (1997) ODBC to WebCat (2000) Setting up shop (1997) date (1999) practicing safe queries.. (2000) Error Msg (1997) shortening the cart (1998) PCS Frames (1997) [WebDNA] Is this safe? (2013) PCS Frames (1997) Add htmlarea 3 to SiteBuilder (2004) [WebDNA] Error installing v6.2 on Ubuntu 10.10 ... (2010) OT: Collaborative Browsing (2000) Locking up with WebCatalog... (1997) WebCatalog2 Feature Feedback (1996) multiple product databases (1997) writing db to disk (1997) Unanswered trigger questions ... (2003) incrementing a counter remotely? (1999) GrandTotal not right (1997)