#1 2011-11-19 17:51:42

esmondb
Member
From: London
Registered: 2010-07-20
Posts: 299

http expires header

I've been using a web browser as a client to TSQLite3HttpServer. It's been working fine but after a mormot session timeout ajax fails silently on msie.

I'm guessing it's a browser cache problem and maybe an 'Expires' http header would help. Does this sound sensible and if so where would be the best place to implement it?
Apparently the expires header needs to be the same as the date header to stop caching but http.sys is setting the date header so it's hard to see how to do it.

Offline

#2 2011-11-20 12:03:50

ab
Administrator
From: France
Registered: 2010-06-21
Posts: 14,660
Website

Re: http expires header

mORMot sessions are not linked to HTTP conection.
You can have a new browser connection for each request. The session is retrieved from the signature.

No caching no 'Experires' headers are set at the HTTP level.

I'll check if there is no time out error in this case.

Offline

Board footer

Powered by FluxBB