crystalized
Programmer
I know this question is on here all the time but....
I thought I had this problem solved, my pages were expiring so when I hit the back button the "Page has expired" error page was being displayed. This was a good thing since I need the users to navigate through a series of forms using the navigation buttons I have provided. If the user uses the browser navigation buttons the things I need done do not get done.
Now I was getting ready to change the way the error of an expired page is handled (I am still not sure exactly how to do this but I was about to embark on the learning process) when the pages stopped expiring. Now I am able to flip back and forth between accessed forms with the browser buttons and I am not getting the page has expired error any more.
The only real change I made is that I had my series of Expire statements as follows:
Response.CacheControl = "no-cache"
Response.AddHeader "Pragma","no-cache"
Response.ExpiresAbsolute = Now()- 1000
Response.Expires = 0
in an include file, and then I moved it into a different include file. The second include file is included in all of the forms (that was the first thing I checked).
So I am unsure how I am suddenly going wrong here. The strange thing is that it was working and now it is not working, yet I can think of no other significant changes I have made to the "expires" end of things.
I also have Response.buffer=true at the top of each of the form pages.
The users of the application will be expected to use Internet Explorer, not Netscape.
Any words of wisdom would be greatly appreciated.
I thought I had this problem solved, my pages were expiring so when I hit the back button the "Page has expired" error page was being displayed. This was a good thing since I need the users to navigate through a series of forms using the navigation buttons I have provided. If the user uses the browser navigation buttons the things I need done do not get done.
Now I was getting ready to change the way the error of an expired page is handled (I am still not sure exactly how to do this but I was about to embark on the learning process) when the pages stopped expiring. Now I am able to flip back and forth between accessed forms with the browser buttons and I am not getting the page has expired error any more.
The only real change I made is that I had my series of Expire statements as follows:
Response.CacheControl = "no-cache"
Response.AddHeader "Pragma","no-cache"
Response.ExpiresAbsolute = Now()- 1000
Response.Expires = 0
in an include file, and then I moved it into a different include file. The second include file is included in all of the forms (that was the first thing I checked).
So I am unsure how I am suddenly going wrong here. The strange thing is that it was working and now it is not working, yet I can think of no other significant changes I have made to the "expires" end of things.
I also have Response.buffer=true at the top of each of the form pages.
The users of the application will be expected to use Internet Explorer, not Netscape.
Any words of wisdom would be greatly appreciated.