hello , here is my code:
if session[:firsttimestart].nil?
else
@firsttime = false
end
if @firsttime == true
initglobals()
end
session[:firsttimestart]=false
the problem is when i turn off the server and come back to the application the session[:firsttimestart] is still false , it somehow stores this variable in my system without an expiration date so the iniglobals() is not called.i tried to use rake tmp:clear and it didnt work. how can i clear all the sessions that am using in my system each time i restart my server?