Re: expiring a cookie each thursday

This WebDNA talk-list message is from

2000


It keeps the original formatting.
numero = 32157
interpreted = N
texte = Maybe like this...[math show=f]expDate={[date]}][showif [format %A][date][/format]=Friday] [math]expDate=[expDate]+6][/math] [/showif][showif [format %A][date][/format]=Saturday] [math]expDate=[expDate]+5][/math] [/showif]etc etc etc[showif [format %A][date][/format]=Thurdsay] [math]expDate=[expDate]+0][/math] [/showif]___Joe___At 4:22 PM 5/22/00, dale@gmr.dresdner.net wrote: >Hello, > >I need have a cookie expire on Thursday, each Thursday. I am doing a survey >page and a new survey comes out each Thursday. The cookie is a simple way to >prevent most people from trying to vote a second time in the same edition of >the survey. > >So how do I set the expiration of the cookie to be the following Thursday >regardless of what day today is? > >Thanks > >p.s. the survey will also only show the results on Tuesday and Wednesday >(that part is easy). >-- >Dale Therio >+49 69 263 19977 office Dresdner Kleinwort Benson Research >+49 69 263 11379 fax Jürgen-Ponto-Platz 1 >+49 170 934 3610 mobile 60301 Frankfurt, Germany > > > >------------------------------------------------------------- >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 > >Web Archive of this list is at: http://search.smithmicro.com/_________________________________________________ Joseph D'Andrea JoeDan@West21.com WEST21.com Internet services for the 21st Century http://www.west21.com/ _________________________________________________ ------------------------------------------------------------- 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 Web Archive of this list is at: http://search.smithmicro.com/ Associated Messages, from the most recent to the oldest:

    
  1. Re: expiring a cookie each thursday (Joseph D'Andrea 2000)
  2. expiring a cookie each thursday (dale@gmr.dresdner.net 2000)
Maybe like this...[math show=f]expDate={[date]}][showif [format %A][date][/format]=Friday] [math]expDate=[expDate]+6][/math] [/showif][showif [format %A][date][/format]=Saturday] [math]expDate=[expDate]+5][/math] [/showif]etc etc etc[showif [format %A][date][/format]=Thurdsay] [math]expDate=[expDate]+0][/math] [/showif]___Joe___At 4:22 PM 5/22/00, dale@gmr.dresdner.net wrote: >Hello, > >I need have a cookie expire on Thursday, each Thursday. I am doing a survey >page and a new survey comes out each Thursday. The cookie is a simple way to >prevent most people from trying to vote a second time in the same edition of >the survey. > >So how do I set the expiration of the cookie to be the following Thursday >regardless of what day today is? > >Thanks > >p.s. the survey will also only show the results on Tuesday and Wednesday >(that part is easy). >-- >Dale Therio >+49 69 263 19977 office Dresdner Kleinwort Benson Research >+49 69 263 11379 fax Jürgen-Ponto-Platz 1 >+49 170 934 3610 mobile 60301 Frankfurt, Germany > > > >------------------------------------------------------------- >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 > >Web Archive of this list is at: http://search.smithmicro.com/_________________________________________________ Joseph D'Andrea JoeDan@West21.com WEST21.com Internet services for the 21st Century http://www.west21.com/ _________________________________________________ ------------------------------------------------------------- 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 Web Archive of this list is at: http://search.smithmicro.com/ Joseph D'Andrea

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:

WebCat2 - Getting to the browser's username/password data (1997) problems with 2 tags (1997) problems with 2 tags (1997) trigger firing at restart (2003) Forms Search Questions (1997) HELP WITH DATES (1997) Snake Bites (1997) WebDNA Writer Needed (1997) Exclude by date - multiple (1997) [redirect] w/o showing args? (1999) Pithy questions on webcommerce & siteedit (1997) WebDNA on Intel Mac? (2006) Trouble with formula.db (1997) Cancel Subscription (1996) Discounts: Buy One, Get One =?ISO-8859-1?Q?99=A2?= (2004) Quit revisited (1997) error message (1998) Fun with dates (1997) Return records from another (1997) Roundup function? (1997)