SessionPageStatePersister is not releasing the old viewstate from sess

I have used the option of the better methods from this document

PageStatePersister _pers;
protected override PageStatePersister PageStatePersister
if (_pers == null)
_pers = new SessionPageStatePersister(this);
return _pers;

Everything works great, the viewstate is no longer on the page and is moved to session. But how does this get released from the session. I don't see it released and my servers cpu memory is growing indefinetely.


Sign In or Register to comment.

Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!