FormsAuthentication with slideExpiration enabled does not return a cookie in every request.

I have a web application with FormsAuthentication and with slidingExpiration="true"in my web.config the cookie is not returned in every request, but when I see HTTP transactions, I do not see how the web server returns an AUTH cookie in each request.

Checking the documents , he should.

slideExpiration Optional attribute. Indicates whether rolling expiration will occur. Sliding expiration resets the active authentication time for the cookie, which expires on each request during a single session. This attribute can be one of the following values. Value Description True Indicates that turn-off permission is enabled. The authentication cookie is updated, and the time until expiration is reset for subsequent requests in one session. False Indicates that the transition acceleration is not activated, and the cookie expires when typing the time interval from the moment the cookie was deleted. Default is True.

Does anyone know why it is not working as expected?

Greetings.

+5
2

cookie , cookie .

0

All Articles