Re: New Cart No. on same page

This WebDNA talk-list message is from

2003


It keeps the original formatting.
numero = 47348
interpreted = N
texte = Great idea...why didn't I think of that? Thanks.-Dan ------------------------------------------------------------ http://www.StrongGraphicDesign.com (208) 319-0137 | Toll-free p/f 877-561-1656 ------------------------------------------------------------ On Fri, 31 Jan 2003 17:04:22 Alex McCombie wrote: >On 1/31/03 4:40 PM, Alex McCombie wrote: > >> At that point you fall back on >> the random number to be sufficient (which it probably should be even with >> WEBDNA and random seed weirdness). >Speaking of uses for [random], I thought I would share one. > >Hopefully this isn't obvious to everyone (if it is just don't tell me), but >we have often struggled with getting browsers like IE (both mac and win) to >do what they are told when it comes to caching. Especially image caching!!!! > >Long ago we started passing useless variables on the end of some pages to >force IE to go back and get the page again (index.tpl?x=345678) where >x=[random][random][random][random] was a way to generate that code. > >But this didn't stop IE from still caching the images (regardless of the >meta tags). Of course that was different depending on the version and the >platform... > >But here is something we have been doing lately with great success: > >src=webcam.jpg?[random][random][random][random][random][random][random] >border=0> > > >Actually passing a variable on the end of the image call doesn't seem to >break ANYTHING in regards to how the image is served yet it sufficiently >convinces the browser that the image is completely different than the last >time the page was refreshed. > >Now YMMV, but so far this has eliminated the battle of getting a image to >update at EVERY page load regardless of how the browser does or does not >play nice with regards to the meta tags. > > >Just thought I would share. > >Alex > > > > >New World Media >Chief Information Officer Drawer 607 >800/724.8973 Fair Haven, NY 13064 >Alex@NewWorldMedia.com http://OurClients.com > >Interface Designer WebDNA Programmer Database Designer > > > >------------------------------------------------------------- >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://webdna.smithmicro.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://webdna.smithmicro.com/ Associated Messages, from the most recent to the oldest:

    
  1. Re: New Cart No. on same page (Marko Bernyk 2003)
  2. Re: New Cart No. on same page (Dan Strong 2003)
  3. Re: New Cart No. on same page (Rob Marquardt 2003)
  4. Re: New Cart No. on same page (Alex McCombie 2003)
  5. Re: New Cart No. on same page (Alex McCombie 2003)
  6. Re: New Cart No. on same page (Rob Marquardt 2003)
  7. Re: New Cart No. on same page (Alex McCombie 2003)
  8. Re: New Cart No. on same page (Rob Marquardt 2003)
  9. Re: New Cart No. on same page (Matthew Bohne 2003)
  10. Re: New Cart No. on same page (John Peacock 2003)
  11. Re: New Cart No. on same page (Donovan 2003)
  12. Re: New Cart No. on same page (Matthew Bohne 2003)
  13. Re: New Cart No. on same page (Gyuri 2003)
  14. Re: New Cart No. on same page (Glenn Busbin 2003)
  15. Re: New Cart No. on same page (Matthew Bohne 2003)
  16. Re: New Cart No. on same page (Alex McCombie 2003)
  17. Re: New Cart No. on same page (Gary Krockover 2003)
  18. New Cart No. on same page (Matthew Bohne 2003)
Great idea...why didn't I think of that? Thanks.-Dan ------------------------------------------------------------ http://www.StrongGraphicDesign.com (208) 319-0137 | Toll-free p/f 877-561-1656 ------------------------------------------------------------ On Fri, 31 Jan 2003 17:04:22 Alex McCombie wrote: >On 1/31/03 4:40 PM, Alex McCombie wrote: > >> At that point you fall back on >> the random number to be sufficient (which it probably should be even with >> WEBDNA and random seed weirdness). >Speaking of uses for [random], I thought I would share one. > >Hopefully this isn't obvious to everyone (if it is just don't tell me), but >we have often struggled with getting browsers like IE (both mac and win) to >do what they are told when it comes to caching. Especially image caching!!!! > >Long ago we started passing useless variables on the end of some pages to >force IE to go back and get the page again (index.tpl?x=345678) where >x=[random][random][random][random] was a way to generate that code. > >But this didn't stop IE from still caching the images (regardless of the >meta tags). Of course that was different depending on the version and the >platform... > >But here is something we have been doing lately with great success: > >src=webcam.jpg?[random][random][random][random][random][random][random] >border=0> > > >Actually passing a variable on the end of the image call doesn't seem to >break ANYTHING in regards to how the image is served yet it sufficiently >convinces the browser that the image is completely different than the last >time the page was refreshed. > >Now YMMV, but so far this has eliminated the battle of getting a image to >update at EVERY page load regardless of how the browser does or does not >play nice with regards to the meta tags. > > >Just thought I would share. > >Alex > > > > >New World Media >Chief Information Officer Drawer 607 >800/724.8973 Fair Haven, NY 13064 >Alex@NewWorldMedia.com http://OurClients.com > >Interface Designer WebDNA Programmer Database Designer > > > >------------------------------------------------------------- >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://webdna.smithmicro.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://webdna.smithmicro.com/ Dan Strong

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:

No luck with taxes (1997) This is an odd error (2001) Limitations on fields? Server is crashing (1997) WebCatalog/Mac 2.1b2 - PIXO (1997) [WebDNA] location line item change password (2011) P1: How to make webcatalog more stable. - LONG (1999) [/application] error? (1997) pop up building with summarize (1998) Variables (1999) [Webcat 2]Next (1997) For Grant: Webcatalog 4.0 - When will we be able to beta testit? (2000) YACBQ.....(Yet another checkbox question) (2000) WebCat2 - storing unformatted date data? (1997) oops private message leaked into talk list (1997) [MATH SHOW=F]. show=f does what? (1999) Subtotal help (1997) Bug or syntax error on my part? (1997) [OT] md5 or sha-1 on OSX (2007) Error Type 3 (1999) SiteBuilder Problem (2004)