I am working on a project, i have on ashx handler file,
I want to make some ViewState data in my ashx file and then check it on .cs file
How can i achieve this as i can’t access ViewState object in my ashx file
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.
No you cannot access the data of page in Ashx file because it handler and get executed when the request to page take place.
Instead of viewstate you can make use of Session boject liek this
or to just readonly acces to session object