ASP object's method
-
Recently I have started development in ASP. IIS 5.1 is installed on my PC. I use Microsoft Internet development environment, which is part of Visual Studio 6.0 . The problem is the Server object does not have 'Transfer' and 'Execute' methods.(Server.Transfer and Server.Execute). The Server object does have Redirect method(Server.Redirect). So how to go about it. I think these methods are implemented in ASP 3.0, is it right? How to check which version of asp is running? If my ASP version is lower one, then how to upgrade to higher one? Regards, Amol
-
Recently I have started development in ASP. IIS 5.1 is installed on my PC. I use Microsoft Internet development environment, which is part of Visual Studio 6.0 . The problem is the Server object does not have 'Transfer' and 'Execute' methods.(Server.Transfer and Server.Execute). The Server object does have Redirect method(Server.Redirect). So how to go about it. I think these methods are implemented in ASP 3.0, is it right? How to check which version of asp is running? If my ASP version is lower one, then how to upgrade to higher one? Regards, Amol
-
Recently I have started development in ASP. IIS 5.1 is installed on my PC. I use Microsoft Internet development environment, which is part of Visual Studio 6.0 . The problem is the Server object does not have 'Transfer' and 'Execute' methods.(Server.Transfer and Server.Execute). The Server object does have Redirect method(Server.Redirect). So how to go about it. I think these methods are implemented in ASP 3.0, is it right? How to check which version of asp is running? If my ASP version is lower one, then how to upgrade to higher one? Regards, Amol
Amol Ravatale wrote:
The problem is the Server object does not have 'Transfer' and 'Execute'
Why do you think that?
The Server object does have Redirect method
No, it doesn't. It never had, and it never will. Use Response.Redirect.
I think these methods are implemented in ASP 3.0, is it right? How to check which version of asp is running?
No, it was implemented in either IIS 5.0 or 5.1, but I can't recall exactly at the moment. You have VBScript version 5.1 (or possibly 5.5 or 5.6). You can use ScriptEngineMajorVersion and ScriptEngineMinorVersion to verify this. It's irrelevant for your question, though. Your server has all the methods that you are talking about. If you need help on how to use them, show what you did when you failed to. --- b { font-weight: normal; }
-
Amol Ravatale wrote:
The problem is the Server object does not have 'Transfer' and 'Execute'
Why do you think that?
The Server object does have Redirect method
No, it doesn't. It never had, and it never will. Use Response.Redirect.
I think these methods are implemented in ASP 3.0, is it right? How to check which version of asp is running?
No, it was implemented in either IIS 5.0 or 5.1, but I can't recall exactly at the moment. You have VBScript version 5.1 (or possibly 5.5 or 5.6). You can use ScriptEngineMajorVersion and ScriptEngineMinorVersion to verify this. It's irrelevant for your question, though. Your server has all the methods that you are talking about. If you need help on how to use them, show what you did when you failed to. --- b { font-weight: normal; }
Yeas correct, I made a mistake. Server object do not possess Redirect method. But Server object should have have 'Transfer' and 'execute' method. But when type Server and then hit dot(.), properties & methods are shown (which is known as Intellisence). In this 'Transfer' & 'Execute' does not get listed. I need this methods instead of responce.redirect as server.execute and Server.Transfer have more control over hoe you redirect. Every thing will come to you if you have faith.
-
Yeas correct, I made a mistake. Server object do not possess Redirect method. But Server object should have have 'Transfer' and 'execute' method. But when type Server and then hit dot(.), properties & methods are shown (which is known as Intellisence). In this 'Transfer' & 'Execute' does not get listed. I need this methods instead of responce.redirect as server.execute and Server.Transfer have more control over hoe you redirect. Every thing will come to you if you have faith.
-
Visual Studio 6 might be too old to know about the methods, but you can use them anyway. --- b { font-weight: normal; }
more likely intellisense has got its knickers in a twist.... Just cos it's not shown, doesn't mean it's not there - you have tried calling the function haven't you? This is why I hate intellisense from a learning perspective.... "Now I guess I'll sit back and watch people misinterpret what I just said......" Christian Graus At The Soapbox