can we access viewstate and session objects at unload event of page.
Share
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
The "unload" event is called as soon as the page response has been sent to the client browser, there’s usually nothing useful you can do in this event, other than clear up resources (i.e. file/database handles, etc).
You might possibly be able to read viewstate, you certainly can’t change it, and the same propbably holds true for session. What are you trying to achieve?