Cleanup invalid sessions only once in a while
1 sql request removed for each request!
Do update_session_last_connexion only once per request
1 sql request removed for each request!
Update last request datetime + login + create session only for HTML page
The idea is to avoid sql requests for .js, .css, .png ressources
Sensible gain in sql requests count
TODO: same for tokens
Remove comments
Provide an HttpSessionStateCollection mecanism to cache database sessions in RAM
Thus reduce database usage: this removes most check_session calls.
Ressources (.js, .css, .png, ...) do not create sql request anymore!
Trace all sql requests in debug mode
Show requests uri in debug mode
Comment too verbose instructions
Merge branch 'debug' into server-performance

Conflicts:
	db.rb
	http.rb
Merge pull request #34 from TiTi/server-performance

Big server performance improvement
Merge pull request #36 from TiTi/master

Restrict upload to mp3 file
Add folder path test in order to avoid file reading outside jukebox folder
Add missing function generate 403
Merge pull request #37 from trasher4boss/http_serv

Add folder path test in order to avoid file reading outside jukebox fold...
Fix httpAuth for other path than root folder
Remove useless traces
Behavior correction, avoid multiple database session update
Merge pull request #38 from trasher4boss/http_serv

Fix httpAuth for other path than root folder