Storing the entire session in a cookie has been standard in Rails for the last few years – is there an easy way to achieve something similar with ASP MVC?
By default, anything in Session / TempData is stored in memory on the server. In web.config this can be changed to an SQL Store / server-side cache. I’d like to be able to have these objects persisted in a cookie.
It looks like I could implement a custom Session-State Store Provider. Is there a simpler approach?
yes, implement a custom state session-provider. And no, afaik there isn’t a simpler approach.
Ps. it isn’t as bad as it looks i.e. > half of the odbc sample is writing to the db.