Re: Dealing with da back button
This WebDNA talk-list message is from 1999
It keeps the original formatting.
numero = 24724
interpreted = N
texte = > Just curious, how are you setting the cookie to expire? My site> allows visitors to return to check on the status of their order, so I> want that cookie expired before then. But, I'd like to have it not> expire, if say, they want to surf somewhere else during that browser> session and come back and finish their order...>> WillAfter someone finishes their order I usually set the cookie equal to thevalue clear or null whatever, some value that is not a cart. Thenwhenever I get to the point where I set a cookie I only set the cookie ifeither the cookie sent by their browser is equal to clear or equal tonothing (the case when they've never visited the site). In other words use[getcookie] to check for a valid cart, if it is not valid use [setcookie] toset a cookie. I try to wrap all this logic into an include file which I canjust include at the top of all pages. The only trick to remember is that youcan not use [getcookie] and [setcookie] on the same page.-Josh-------------------------------------------------------------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:
> Just curious, how are you setting the cookie to expire? My site> allows visitors to return to check on the status of their order, so I> want that cookie expired before then. But, I'd like to have it not> expire, if say, they want to surf somewhere else during that browser> session and come back and finish their order...>> WillAfter someone finishes their order I usually set the cookie equal to thevalue clear or null whatever, some value that is not a cart. Thenwhenever I get to the point where I set a cookie I only set the cookie ifeither the cookie sent by their browser is equal to clear or equal tonothing (the case when they've never visited the site). In other words use[getcookie] to check for a valid cart, if it is not valid use [setcookie] toset a cookie. I try to wrap all this logic into an include file which I canjust include at the top of all pages. The only trick to remember is that youcan not use [getcookie] and [setcookie] on the same page.-Josh-------------------------------------------------------------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
Josh Tiger
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:
[SearchString] (1998)
webcat error log (1998)
NT Manual (1997)
Nested tags count question (1997)
Comments in db? (1997)
PhotoMill -> PhotoMaster (1997)
TPC Connect (1999)
quantity minimum problem (1997)
Did you hear about this? (1997)
[protect] on NT? (1997)
setting taxable to true (1997)
Quitting WebMerchant ? (1997)
Maybe off topic but how to charge (1997)
3RD POST Character limit in [Search]? (1998)
RE: [WebDNA] macOS 10.13.3 and WebDNA Mac Server 8.5.1 - hick-up (2019)
RE: Sorting error (1997)
Uh...can someone help me out with the b10? (1997)
Bug Report, maybe (1997)
Windows and Webcat! (2000)
Access Denied! But why? (1997)