Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. Web Development
  3. ASP object's method

ASP object's method

Scheduled Pinned Locked Moved Web Development
csharpvisual-studiosysadminwindows-adminhelp
6 Posts 4 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • A Offline
    A Offline
    Amol Ravatale
    wrote on last edited by
    #1

    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

    C G 2 Replies Last reply
    0
    • A Amol Ravatale

      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

      C Offline
      C Offline
      CWIZO
      wrote on last edited by
      #2

      Leava ASP alone and move to ASP .NET (2.0). -------------------------------------------------------- Q:What does the derived class in C# tell to it's parent? A:All your base are belong to us!

      1 Reply Last reply
      0
      • A Amol Ravatale

        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

        G Offline
        G Offline
        Guffa
        wrote on last edited by
        #3

        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; }

        A 1 Reply Last reply
        0
        • G Guffa

          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; }

          A Offline
          A Offline
          Amol Ravatale
          wrote on last edited by
          #4

          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.

          G 1 Reply Last reply
          0
          • A Amol Ravatale

            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.

            G Offline
            G Offline
            Guffa
            wrote on last edited by
            #5

            Visual Studio 6 might be too old to know about the methods, but you can use them anyway. --- b { font-weight: normal; }

            R 1 Reply Last reply
            0
            • G Guffa

              Visual Studio 6 might be too old to know about the methods, but you can use them anyway. --- b { font-weight: normal; }

              R Offline
              R Offline
              RichardGrimmer
              wrote on last edited by
              #6

              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

              1 Reply Last reply
              0
              Reply
              • Reply as topic
              Log in to reply
              • Oldest to Newest
              • Newest to Oldest
              • Most Votes


              • Login

              • Don't have an account? Register

              • Login or register to search.
              • First post
                Last post
              0
              • Categories
              • Recent
              • Tags
              • Popular
              • World
              • Users
              • Groups