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:
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:
update on wn searching (1997)
Web Catalog 2 demo (1997)
ErrorMessages.db (2004)
WebCatalog Technical Reference (1997)
Plugin or CGI or both (1997)
Still can't upgrade users.db to 2.1.1 (1998)
WebCatalog for Postcards ? (1997)
[WebDNA] lighttpd problem with returnraw http header (2018)
Protect Tag and Groups (1998)
Credit card processing options. . . (1997)
About the Allow 'Absolute Path' Prefix (2002)
Webcat deletes last line from Excel-saved text db (2004)
where to put code (1998)
Multiple catalog databases and showcart (1997)
Three new problems, maybe a fourth (1997)
Email...Thanks (1997)
Copy and paste text into form fields....... (2005)
Problem during evaluation of WebCatalog (1998)
multi-paragraph fields (1997)
Cannot get subtotal to work (1997)