Get Help:Ask a Question in our Forums|Report a Bug|More Help Resources
Last post Feb 04, 2011 10:21 AM by shabirhakim1
Feb 04, 2011 09:52 AM|LINK
I am migrating an application from classic ASP to .Net. What is the following line doing and what is its equivalent in .Net. ?
<%Response.Expires = -1500%>
If i set the the "timeout" property of the session state tag in web.config will this do my work ?
Feb 04, 2011 10:00 AM|LINK
Feb 04, 2011 10:12 AM|LINK
Can you please tell me that what -1500 is doing ? and how it is different from timeout property of session state in web.config.
I googled this and realised that response.expire will be used on every page and timeout will be just used once in the web.config.
Sorry , if my question is newbie as this is my first project.
Btw, thank you for your reponse.
Feb 04, 2011 10:21 AM|LINK
They are entirely different like Response.Expires with -1500 is for particular page,Once user will press back button ,He wouldn't be able to see previous page.I mean It will expire within no time.
SESSION.TIMEOUT IS FOR ENTIRE APPLICATION and is no way realted to above.