I've encountered a weird problem. Everytime I refresh the page, IsPostBack
is false.
To make sure nothing in my contents or master pages is causing this, I have created an empty web form and fired it up in debug mode. still, on postbacks, I have IsPostBack
set to false.
I have enableSessionState="true"
and <sessionState timeout="30" />
in web.config.
It's driving me nuts!
Update: I refresh the page by hitting F5. Based on answers this should not cause a postback. I'd like to know when a use refreshes the page (even manually) and prevent some modifications to db).
Is there a solution for this?