asp.net sessionID changing on postbacks?

后端 未结 2 1738
无人及你
无人及你 2021-01-18 04:34

I am writing an asp.net app that stored an object in cache. When the page loads the first time, it checks the cache for the object, if it is there, it will use the object. i

2条回答
  •  心在旅途
    2021-01-18 05:26

    The session id shouldn't be changing on postbacks. It is used by asp.net to do a similar thing. Can you provide more info on the scenario? what type of data, why/when are you trying to "cache"

    Update 1: Regarding it changing on each post back, have you disabled cookies? which version of asp.net are you using?

提交回复
热议问题