Click to See Complete Forum and Search --> : refresh button properties
I have 2 servers set up running the same os, same version of IIS, same everything really....... However, on one of my servers, when browsing my web application the user is directed to the login page upon hitting the refresh button. The application on the other server performs the regular function of the refresh button, trying to reload the page or resubmit the information when pressed. Somewhere along the line some setting got changed on the first server. I would like the second server to be set up like the first, redirecting the user back to the login page, but I can't find what setting has been changed. I know I asked this last week, but does anybody know what setting to change to get this effect? The only responses I got last week was that it's not possible, or to just write code to simulate the effect. Thanks in advance.
-kaht
Ribeyed
09-23-2003, 04:55 AM
Hi,
i can't answer your question fully here, but i will give you my opinion on this one. Firstly you can't control IE's buttons on the tool bar using ASP that’s it end of story for that, there is no code in ASP for doing that. So there must be a reason for this behaviour because one server’s behaviour is not correct.
About the only thing i can thing of which would cause a different page to be displayed on one server than on the other when a refresh button if pressed and the content has expired, which would be a customised error page. Old server has a customised error page which happens to be the login page and the new server still has a default error page.
I would suggest that you go into IIS on the old server and go to properties of your web site. Click the "custom errors" tab look at the error pages and see if any of the error codes point to different pages than what you find on the new server. If you find they differ then you need to configure the new server to the same as old server.
Hope this helps