<div>The static content, the gifs, change, that is, for instance: where I must have an edit gif, appears anything else, for instance a delete gif.</div> <div> </div> <div>What apperars mixed-up in the web brwoser are the gif, the server static files, which I cache its byteArrays in ScriptingSystem formDictionary.</div> <div> </div> <div>For instance, by means of "toggle halos", and "S" I can see the html generated by the server, this is a piece of html:</div> <div> </div> <div> <<SPAN class=tag-known>td</SPAN> <SPAN class=attribute-known>class</SPAN>=<SPAN class=attribute-value>"row"</SPAN>><BR> <<SPAN class=tag-known>a</SPAN> <SPAN class=attribute-known>href</SPAN>=<SPAN class=attribute-value>"<A
href="http://localhost:9090/seaside/DES?_s=PbyjghqnecDAMJwz&39&_k=bCzEZZYt">...bCzEZZYt</A>"</SPAN>><BR> <<SPAN class=tag-known>img</SPAN> <SPAN class=attribute-known>border</SPAN>=<SPAN class=attribute-value>"0"</SPAN> <SPAN class=attribute-known>alt</SPAN>=<SPAN class=attribute-value>""</SPAN> <SPAN class=attribute-known>src</SPAN>=<SPAN class=attribute-value>"/seaside/DES?_s=VmTXqtlZoqwPFQvv"</SPAN> /><BR> </<SPAN class=tag-known>a</SPAN>><BR> </<SPAN class=tag-known>td</SPAN>></div> <div> </div> <div><SPAN class=attribute-value>"/seaside/DES?_s=VmTXqtlZoqwPFQvv"</SPAN> referes to the gif, for instance to the gifA, and the gifA is shown.</div> <div> </div> <div>Somehow, the same ?_s=VmTXqtlZoqwPFQvv after some time referes to
another gif, a gifB. If I click the web brower refresh button, or delete all off-line content of temporary internet files every time or -as I´m trying now- change the expiration time to a shorter time, It seems I´m avoiding this... but I´m not sure.</div> <div> </div> <div>thank you,</div> <div> </div> <div>Felipe</div> <div> </div> <div><BR><B><I>Philippe Marschall <philippe.marschall@gmail.com></I></B> escribió:</div> <BLOCKQUOTE class=replbq style="PADDING-LEFT: 5px; MARGIN-LEFT: 5px; BORDER-LEFT: #1010ff 2px solid">2006/10/25, saza solutions <FZAK@SAZASOLUTIONS.COM>:<BR>> Hi all,<BR>> This is the first time I make a submition to the list.<BR>><BR>> For the last year and a half I´ve been using seaside in squeak, and built a<BR>> decision engine application.<BR>><BR>> I´ve been experiencing the following: all the gifs appeare mixed up.<BR>><BR>> I cache the gifs, putting all the gifs in ScriptingSystem
formDictionary, I<BR>> store the byteArray directly.<BR>><BR>> I realized that the application has been using offline content stored in the<BR>> temporary files folder. Then, I change Explorer setting to check the version<BR>> of a page, every time the page is visited (the previous setting was<BR>> "automatic"). But I continued experiencing the problem.<BR>><BR>> Then I realized that the key generated in WAExternalID by means of:<BR>> initialize<BR>> GeneratorMutex critical:<BR>> [1 to: self size do: [:i | self at: i put: ((($a to: $z), ($A to: $Z))<BR>> atRandom: Generator) asInteger]]<BR>><BR>> was exactly the same as one located in the temporary files.<BR>><BR>> I also saw that WADocumentHandler>>response sets an expiration time to year<BR>> 2095.<BR>><BR>> response<BR>> | response |<BR>> response _ WAResponse new.<BR>> response contents: self mimeDocument contentStream text.<BR>> response
contentType: (mimeType ifNil: [self mimeDocument contentType]).<BR>> response headerAt: 'Expires' put: 'Thu, 01 Jan 2095 12:00:00 GMT'.<BR>> fileName ifNotNil:<BR>> [response headerAt: 'Content-Disposition' put: 'attachment; filename=' ,<BR>> fileName].<BR>> ^ response<BR>><BR>> Now, I´m attacking the problem in the following ways:<BR>> - changes the web browser setting to review page version every time is<BR>> visited.<BR>> - changed expiration time to a shorter time.<BR>> - changed the way WAExternalID is generated, trying to make it more random.<BR>> Does anybody has another ideas ?, Am I facing the problem correctly ?,<BR>><BR>> Thanks in advance,<BR>><BR>> I´d like to add that Seside is an amazing and productive framework.<BR>><BR>> Felipe<BR><BR>Whats the bigger problem you're trying to solve? Serve static files?<BR>Serve dynamically generated
files?<BR><BR>Philippe<BR>_______________________________________________<BR>Seaside mailing list<BR>Seaside@lists.squeakfoundation.org<BR>http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside<BR></BLOCKQUOTE><BR>