Is there a way to use Server.Transfer such that it will load template info? Right now I have an app that I did not right, I am maintaining, bug fixing, and adding features. One thing we added is templates - there are two templates. Depending on the URL, it loads one or the other. The logic for this is in global.asax.vb.
It appears that once we started doing this, all the Server.Transfer calls in the app would bring up pages without any style info loaded, as if the template is not being loaded at all. Is there a way to use Server.Transfer and have it load up the templates too?
Second to this - I know I can use Response.Redirect and it loads the templates just fine. However the strange part there is when we try to debug the app in on our PCs, the Response.Redirect from the login page doesn't seem to want to let us in the app. It ends up coming back to the login page as if we didn't get validated. It doesn't do this on our server environments, just when we debug it on our PCs. I don't understand why.
Any help is appreciated.
-Greg
It appears that once we started doing this, all the Server.Transfer calls in the app would bring up pages without any style info loaded, as if the template is not being loaded at all. Is there a way to use Server.Transfer and have it load up the templates too?
Second to this - I know I can use Response.Redirect and it loads the templates just fine. However the strange part there is when we try to debug the app in on our PCs, the Response.Redirect from the login page doesn't seem to want to let us in the app. It ends up coming back to the login page as if we didn't get validated. It doesn't do this on our server environments, just when we debug it on our PCs. I don't understand why.
Any help is appreciated.
-Greg