Here are some tips on how to upgrade from 0.99.2 to 0.99.3. I probably forgot something ...
- Eliom has been splitted into several modules:
- Eliomsessions: (get_user_agent ~sp etc.)
- Eliomparameters: (int "i" ** string "s" etc).
- Eliomservices: (new_service etc.)
- Eliompredefmod: (Xhtml.register etc.)
The lazy way to upgrade is to remove all prefixes "Eliom." and do
open Eliomsessions
open Eliomparameters
open Eliomservices
and replace Eliom.Xhtml by Eliompredefmod.Xhtml ...
- Some changes in function names (get_persistent_session_data, get_volatile_session_data etc.)
- Bug: if you have persistent sessions opened, you may experience a crash of the server as I changed the internal format without changing the db name ...
Sorry for that :-(
To solve the problem:
- with dbm just delete the file (var/lib/ocsipersist/eliom_persist_cookies.otbl*).
- with sqlite do sqlite3 var/lib/ocsidb then: drop table eliom_persist_cookies;
- All sessions will be closed.
