Hi All,
Please help me, I am trying it from 2 days.
I have a login page in asp that is including other pages using #include.....
after login user in the same page but enters in the database.
I want to disable to call this page using back button after logout. I have used this method:
<%Response.Expi res = -1 %>
<%Response.Expi resAbsolute = Now() - 1 %>
<%Response.AddH eader "pragma", "no-cache" %>
<%Response.AddH eader "cache-control", "private" %>
<%Response.Cach eControl = "no-cache" %>
----------------------------------------------------------------------------------------
but for other pages this is working fine but for login page it is not because it is the result of post values.
Please tell me how can i disable the browser to resubmit the information again, because it give a warning message and upon refershing it resumit the information and that page is ready to use to user after log out.
Thanks
Please help me, I am trying it from 2 days.
I have a login page in asp that is including other pages using #include.....
after login user in the same page but enters in the database.
I want to disable to call this page using back button after logout. I have used this method:
<%Response.Expi res = -1 %>
<%Response.Expi resAbsolute = Now() - 1 %>
<%Response.AddH eader "pragma", "no-cache" %>
<%Response.AddH eader "cache-control", "private" %>
<%Response.Cach eControl = "no-cache" %>
----------------------------------------------------------------------------------------
but for other pages this is working fine but for login page it is not because it is the result of post values.
Please tell me how can i disable the browser to resubmit the information again, because it give a warning message and upon refershing it resumit the information and that page is ready to use to user after log out.
Thanks
Comment