If I view the source on one of my pages I see: <script src="/javascripts/prototype.js?1168898271" type="text/javascript"></script> <script src="/javascripts/effects.js?1169242655" type="text/javascript"></script> <script src="/javascripts/dragdrop.js?1169241657" type="text/javascript"></script> <script src="/javascripts/controls.js?1169241658" type="text/javascript"></script> <script src="/javascripts/rico_corner.js?1169575655" type="text/javascript"></script> <script src="/javascripts/ajax_scaffold.js?1169575655" type="text/javascript"></script> <script src="/javascripts/dhtml_history.js?1169575655" type="text/javascript"></script> <script src="/javascripts/application.js?1168898271" type="text/javascript"></script> I belive that''s five sessions 1168898271 1169242655 1169241657 1169241658 1169575655 When I look at the source for another site, such as this forum, I see: <script src="/javascripts/prototype.js?1169215601" type="text/javascript"></script> <script src="/javascripts/effects.js?1169215601" type="text/javascript"></script> <script src="/javascripts/dragdrop.js?1169215601" type="text/javascript"></script> <script src="/javascripts/controls.js?1169215601" type="text/javascript"></script> <script src="/javascripts/application.js?1169215601" type="text/javascript"></script> And there''s only one session number 1169215601 Anyone know what I should be looking at that might be creating the mutliple session numbers per page request? My tmp/sessions list gets long quickly also. I think it''s effecting my development enviroment robustness. Thanks, DAN -- Posted via http://www.ruby-forum.com/. --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---
On Tue, Jan 23, 2007 at 07:42:47PM +0100, DAN wrote:> > If I view the source on one of my pages I see: > <script src="/javascripts/prototype.js?1168898271" > type="text/javascript"></script> > <script src="/javascripts/effects.js?1169242655" > type="text/javascript"></script> > <script src="/javascripts/dragdrop.js?1169241657" > type="text/javascript"></script> > <script src="/javascripts/controls.js?1169241658" > type="text/javascript"></script> > <script src="/javascripts/rico_corner.js?1169575655" > type="text/javascript"></script> > <script src="/javascripts/ajax_scaffold.js?1169575655" > type="text/javascript"></script> > <script src="/javascripts/dhtml_history.js?1169575655" > type="text/javascript"></script> > <script src="/javascripts/application.js?1168898271" > type="text/javascript"></script> > > I belive that''s five sessions > 1168898271 > 1169242655 > 1169241657 > 1169241658 > 1169575655Those are the modification times of the javascript files. When the file is edited, the number changes thereby wiping out the browser''s cache of that file so your new javascript is always used. marcel -- Marcel Molina Jr. <marcel-WRrfy3IlpWYdnm+yROfE0A@public.gmane.org> --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---
DAN wrote:> If I view the source on one of my pages I see: > <script src="/javascripts/prototype.js?1168898271" > type="text/javascript"></script> > <script src="/javascripts/effects.js?1169242655" > type="text/javascript"></script> > <script src="/javascripts/dragdrop.js?1169241657" > type="text/javascript"></script> > <script src="/javascripts/controls.js?1169241658" > type="text/javascript"></script> > <script src="/javascripts/rico_corner.js?1169575655" > type="text/javascript"></script> > <script src="/javascripts/ajax_scaffold.js?1169575655" > type="text/javascript"></script> > <script src="/javascripts/dhtml_history.js?1169575655" > type="text/javascript"></script> > <script src="/javascripts/application.js?1168898271" > type="text/javascript"></script> > > I belive that''s five sessions > 1168898271 > 1169242655 > 1169241657 > 1169241658 > 1169575655 >> Thanks, > DAN >AFAIK, they''re not session numbers, they''re the times the files were last changed (so the browsers will get a fresh copy when a file is updated instead of caching it).> ruby -e ''puts Time.at(1168898271)''Mon Jan 15 16:57:51 EST 2007 So your copy of prototype.js was last updated on the 15th --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---
Thanks for explaining that. As I''m developing I''ve noticed that I''ll clear out my tmp/sessions, reload a page, then see a few new session files. Since I''m the only person that knows the url to this area of my site that seems peculiar. I''m using that Rails 1.1.6 that my host provides so I can''t use the lovely "session :new_session => false" yet. Is it expected that one page load can create multiple session files also? Thanks, DAN -- Posted via http://www.ruby-forum.com/. --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---