Re: Cart ID Duplication

This WebDNA talk-list message is from

2001


It keeps the original formatting.
numero = 36726
interpreted = N
texte = WebMaster wrote: > > Checked this, all these customers have all come directly to our site (IE, > directly typed in the URL), there are no referrer URL at all. > > And the fact that all 15 are using exactly the same ISP, leads me to think > that it has to be a proxy cache server issue. > If this is a proxy cache issue, you can try using the following include file, which is what I had to do to stop AOL from caching my pages (and they have the stupidest cache around!).Call this as [include MIMEHeaders.inc&expires=0] if you want no cache and some other value if you do want it to cache. In addition, we store our cart in a session cookie, which no cache should be able to get at.[!] ------- MIMEHeaders.inc ------- [/!] [!]5:00 is MY offset from UTC - replace with YOUR offset[/!] [!]Also remember to change when daylight savings time takes effect[/!] [math time&show=f]GMToffset={4:00:00}[/math][!] Configure useful variables [/!] [math time&show=f]GMT={[date %X]}+[GMToffset][/math] [math time&show=f]NOW={[date %X]}[/math][!] Check for input variable [/!] [if [expires]=[raw][expires][/raw]] [then] [math show=f]expiresat=3600[/math][/then] [else] [math show=f]expiresat=[expires]*60[/math][/else] [/if][!] Create the GMTexpires variable [/!] [math time&show=f]GMTexpires=[math][GMT]+[expiresat][/math][/math][!] Create the MIMEmodified string [/!] [text]MIMEmodified=[!] [/!][if ([GMT]>[NOW])][!] [/!][then][!] [/!][date format=%a, %d %b][!] [/!][/then][!] [/!][else][!]if GMT after midnight then increment date too [/!][format days_to_date %a, %d %b][math]{[date]}+{00/01/0000}[/math][/format][!] [/!][/else][!] [/!][/if][!] [/!] [date format=%Y] [Format Seconds_To_Time][GMT][/Format][!] [/!] GMT[/text][!] Create the MIMEexpires string [/!] [text]MIMEexpires=[!] [/!][if ([GMT]>[NOW]) and ([GMTexpires]>[GMT]) and ([GMTexpires]<86400)][!] ---- all in the same day ---- [/!][then][!] [/!][date format=%a, %d %b %Y][!] [/!][/then][!] ---- at least one day later ---- [/!][else][!] [/!][format days_to_date %a, %d %b %Y][math]{[date]}+{00/[!] [/!][showif [GMTexpires]>86400][math]floor([GMTexpires]/86400)[/math][/showif][!] [/!][showif [GMTexpires]<86401]01[/showif][!] [/!]/0000}[/math][/format][!] [/!][/else][!] [/!][/if][!] [/!] [Format Seconds_To_Time][GMTexpires][/Format][!] [/!] GMT[/text] [!] Actually set the MIME headers [/!] [SETMIMEHEADER name=Last-modified&value=[MIMEmodified]] [SETMIMEHEADER name=Expires&value=[MIMEexpires]] -- John Peacock Director of Information Research and Technology Rowman & Littlefield Publishing Group 4720 Boston Way Lanham, MD 20706 301-459-3366 x.5010 fax 301-429-5747------------------------------------------------------------- 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: Hiding the URL(was Cart ID Duplication) (Donovan Brooke 2001)
  2. Re: Hiding the URL(was Cart ID Duplication) (Marty Schmid 2001)
  3. Re: Hiding the URL(was Cart ID Duplication) (Bob Minor 2001)
  4. Re: Hiding the URL(was Cart ID Duplication) (Paul Uttermohlen 2001)
  5. Re: Hiding the URL(was Cart ID Duplication) (Paolo Coppo 2001)
  6. Re: Hiding the URL(was Cart ID Duplication) (Bob Minor 2001)
  7. Re: Hiding the URL(was Cart ID Duplication) (Donovan Brooke 2001)
  8. Re: Hiding the URL(was Cart ID Duplication) (Donovan Brooke 2001)
  9. Re: Hiding the URL(was Cart ID Duplication) (Anup Setty 2001)
  10. Re: Hiding the URL(was Cart ID Duplication) (Nitai @ ComputerOil 2001)
  11. Re: Hiding the URL(was Cart ID Duplication) (Nitai @ ComputerOil 2001)
  12. Re: Hiding the URL(was Cart ID Duplication) (John Peacock 2001)
  13. Re: Hiding the URL(was Cart ID Duplication) (Paolo Coppo 2001)
  14. Re: Hiding the URL(was Cart ID Duplication) (Bob Minor 2001)
  15. Re: Hiding the URL(was Cart ID Duplication) (Donovan Brooke 2001)
  16. Re: Cart ID Duplication (Kenneth Grome 2001)
  17. Re: Cart ID Duplication (Glenn Busbin 2001)
  18. Re: Cart ID Duplication (Christer Olsson 2001)
  19. Re: Cart ID Duplication (WebMaster 2001)
  20. Re: Cart ID Duplication (Will Starck 2001)
  21. Re: Cart ID Duplication (John Peacock 2001)
  22. Re: Cart ID Duplication (Bob Minor 2001)
  23. Re: Cart ID Duplication (Will Starck 2001)
  24. Re: Cart ID Duplication (Glenn Busbin 2001)
  25. Re: Cart ID Duplication (Christer Olsson 2001)
  26. Re: Cart ID Duplication (Donovan Brooke 2001)
  27. Re: Cart ID Duplication (Donovan Brooke 2001)
  28. Re: Cart ID Duplication (Bob Minor 2001)
  29. Re: Cart ID Duplication (WebMaster 2001)
  30. Re: Cart ID Duplication (Mark Derrick 2001)
  31. Re: Cart ID Duplication (WebMaster 2001)
  32. Re: Cart ID Duplication (Paul Uttermohlen 2001)
  33. Re: Cart ID Duplication (Bob Minor 2001)
  34. Re: Cart ID Duplication (Donovan Brooke 2001)
  35. Cart ID Duplication (WebMaster 2001)
WebMaster wrote: > > Checked this, all these customers have all come directly to our site (IE, > directly typed in the URL), there are no referrer URL at all. > > And the fact that all 15 are using exactly the same ISP, leads me to think > that it has to be a proxy cache server issue. > If this is a proxy cache issue, you can try using the following include file, which is what I had to do to stop AOL from caching my pages (and they have the stupidest cache around!).Call this as [include MIMEHeaders.inc&expires=0] if you want no cache and some other value if you do want it to cache. In addition, we store our cart in a session cookie, which no cache should be able to get at.[!] ------- MIMEHeaders.inc ------- [/!] [!]5:00 is MY offset from UTC - replace with YOUR offset[/!] [!]Also remember to change when daylight savings time takes effect[/!] [math time&show=f]GMToffset={4:00:00}[/math][!] Configure useful variables [/!] [math time&show=f]GMT={[date %X]}+[GMToffset][/math] [math time&show=f]NOW={[date %X]}[/math][!] Check for input variable [/!] [if [expires]=[raw][expires][/raw]] [then] [math show=f]expiresat=3600[/math][/then] [else] [math show=f]expiresat=[expires]*60[/math][/else] [/if][!] Create the GMTexpires variable [/!] [math time&show=f]GMTexpires=[math][GMT]+[expiresat][/math][/math][!] Create the MIMEmodified string [/!] [text]MIMEmodified=[!] [/!][if ([GMT]>[NOW])][!] [/!][then][!] [/!][date format=%a, %d %b][!] [/!][/then][!] [/!][else][!]if GMT after midnight then increment date too [/!][format days_to_date %a, %d %b][math]{[date]}+{00/01/0000}[/math][/format][!] [/!][/else][!] [/!][/if][!] [/!] [date format=%Y] [Format Seconds_To_Time][GMT][/Format][!] [/!] GMT[/text][!] Create the MIMEexpires string [/!] [text]MIMEexpires=[!] [/!][if ([GMT]>[NOW]) and ([GMTexpires]>[GMT]) and ([GMTexpires]<86400)][!] ---- all in the same day ---- [/!][then][!] [/!][date format=%a, %d %b %Y][!] [/!][/then][!] ---- at least one day later ---- [/!][else][!] [/!][format days_to_date %a, %d %b %Y][math]{[date]}+{00/[!] [/!][showif [GMTexpires]>86400][math]floor([GMTexpires]/86400)[/math][/showif][!] [/!][showif [GMTexpires]<86401]01[/showif][!] [/!]/0000}[/math][/format][!] [/!][/else][!] [/!][/if][!] [/!] [Format Seconds_To_Time][GMTexpires][/Format][!] [/!] GMT[/text] [!] Actually set the MIME headers [/!] [SETMIMEHEADER name=Last-modified&value=[MIMEmodified]] [SETMIMEHEADER name=Expires&value=[MIMEexpires]] -- John Peacock Director of Information Research and Technology Rowman & Littlefield Publishing Group 4720 Boston Way Lanham, MD 20706 301-459-3366 x.5010 fax 301-429-5747------------------------------------------------------------- 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/ John Peacock

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:

WebCat2b13MacPlugIn - [include] doesn't allow creator (1997) 5.0 Preview Promotion Extension (2003) [WebDNA] Non-numbers entered into a field that asks for a number (2008) Pithy questions on webcommerce & siteedit (1997) SiteEditPro (1996) Error: unknown exception (2000) [WebDNA] o search engines index .db files? (2009) RE: AccountAuthorizer doesn't seem to work (1997) Replace Statement (1997) Emailer tracking (1997) Authenticate (1999) Formating found categories (1997) website pro trouble (1998) Need relative path explanation (1997) WebCatalog2 Feature Feedback (1996) ReadDateFormat bug in 3.x (1998) Writefile doesn't work, which permissions to use? (2005) E-mail formating question (1999) [WebDNA] Server speedget (2009) Up and running ... at last !! (1997)