My rails (1.1.6) wep application has been working fine for months, with
15 000 user per day. never had any problem with session.
Then I added a new feature to my app, and, after 4 to 6 hours, sessions
start to be lost.
I mean, i set a session[“a”] = stuff, at the next call, session[“a”]
will be nil !!!
So my user can not login…because of the session[“user_id”]
If i restart my application, it works fine for an extra 4 to 6 hour.
If i rollback my application to before the new feature, it works fine.
here is my new feature:
puts system( EXECUTE AN OPENOFFICE MACRO )
rescue Timeout::Error => err
rescue Exception => err
So the new feature is to upload user file, and handle then with an
openoffice macro with a system command…
Sometime, the command fail…
Could it be possible that this command have some impact on the rails
session managment system ?
My session are stored in a Mysql DB.
Please help, any clue are welcome