Using cookies to store session in ASP MVC

前端 未结 6 1519
野性不改
野性不改 2021-02-03 10:28

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, an

6条回答
  •  臣服心动
    2021-02-03 10:44

    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.

提交回复
热议问题