Xeno Campanoli wrote: > Dave Thomas wrote: >> >> On Jul 9, 2008, at 2:27 PM, Xeno Campanoli wrote: >> Okay, I appear to be creating the persistence file in /tmp/somerandomyname, and it has the right hashy pair in it, but when I restart the page independently, it doesn't get that information in my session. Again, I am taking all the defaults, so perhaps I'm missing a requirement here, but I'm presuming it should see the right file in tmp from a cookie that it creates in the browser, right? Anyway, once the file is created, it apparently is not read. Am I doing this right, or am I perhaps misunderstanding? xc >>> Pickaxe 246 is not only weak, but appears to be just wrong by saying: >>> >>> if session['lastaccess'] >>> >>> which doesn't check that lastaccess is infact a hash key to begin with. >> >> It doesn't need to. It'll be nil if unset, and nil is false in Ruby. >> >> Did you run the example? > > You're right. I miscoded my copy. Okay, my apologies. Still, it would > be nice to have more examples. Can anyone point me to some? > >> >> >> >> >> Dave >> >> > > >