ASP Free Lounge
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
 
 
User Name:
Password:
Remember me
Go Back   ASP Free ForumsOtherASP Free Lounge

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Rate Thread Display Modes
 
Unread ASP Free Forums Sponsor:
  #1  
Old August 21st, 2005, 02:25 AM
Shadow Wizard's Avatar
Shadow Wizard Shadow Wizard is offline
Moderator From Beyond
Click here for more information.
 
Join Date: Sep 2004
Location: Israel
Posts: 26,942 Shadow Wizard User rank is General 8th Grade (Above 100000 Reputation Level)Shadow Wizard User rank is General 8th Grade (Above 100000 Reputation Level)Shadow Wizard User rank is General 8th Grade (Above 100000 Reputation Level)Shadow Wizard User rank is General 8th Grade (Above 100000 Reputation Level)Shadow Wizard User rank is General 8th Grade (Above 100000 Reputation Level)Shadow Wizard User rank is General 8th Grade (Above 100000 Reputation Level)Shadow Wizard User rank is General 8th Grade (Above 100000 Reputation Level)Shadow Wizard User rank is General 8th Grade (Above 100000 Reputation Level)Shadow Wizard User rank is General 8th Grade (Above 100000 Reputation Level)Shadow Wizard User rank is General 8th Grade (Above 100000 Reputation Level)Shadow Wizard User rank is General 8th Grade (Above 100000 Reputation Level)Shadow Wizard User rank is General 8th Grade (Above 100000 Reputation Level)Shadow Wizard User rank is General 8th Grade (Above 100000 Reputation Level)Shadow Wizard User rank is General 8th Grade (Above 100000 Reputation Level)Shadow Wizard User rank is General 8th Grade (Above 100000 Reputation Level)Shadow Wizard User rank is General 8th Grade (Above 100000 Reputation Level)  Folding Points: 340699 Folding Title: Super Ultimate Folder - Level 1Folding Points: 340699 Folding Title: Super Ultimate Folder - Level 1Folding Points: 340699 Folding Title: Super Ultimate Folder - Level 1Folding Points: 340699 Folding Title: Super Ultimate Folder - Level 1Folding Points: 340699 Folding Title: Super Ultimate Folder - Level 1Folding Points: 340699 Folding Title: Super Ultimate Folder - Level 1
Time spent in forums: 3 Months 1 Week 5 Days 12 h 47 m 26 sec
Reputation Power: 1537
Question CGI on IIS?!

I have just noticed that Request.ServerVariables("GATEWAY_INTERFACE") would give something like "CGI/1.1" - anyone has any idea how CGI appear in there?
just curious.....

Last edited by Shadow Wizard : August 21st, 2005 at 02:28 AM.

Reply With Quote
  #2  
Old August 21st, 2005, 02:47 AM
Doug G Doug G is offline
Grumpier Old Moderator
ASP Free God 11th Plane (10000 - 10499 posts)
 
Join Date: Sep 2003
Posts: 10,143 Doug G User rank is First Lieutenant (10000 - 20000 Reputation Level)Doug G User rank is First Lieutenant (10000 - 20000 Reputation Level)Doug G User rank is First Lieutenant (10000 - 20000 Reputation Level)Doug G User rank is First Lieutenant (10000 - 20000 Reputation Level)Doug G User rank is First Lieutenant (10000 - 20000 Reputation Level)Doug G User rank is First Lieutenant (10000 - 20000 Reputation Level)Doug G User rank is First Lieutenant (10000 - 20000 Reputation Level)Doug G User rank is First Lieutenant (10000 - 20000 Reputation Level) 
Time spent in forums: 3 Weeks 4 Days 21 h 28 m 48 sec
Reputation Power: 180
That's what it's supposed to return.

http://msdn.microsoft.com/library/e...cba2c253006.asp

Reply With Quote
  #3  
Old August 21st, 2005, 04:16 AM
Shadow Wizard's Avatar
Shadow Wizard Shadow Wizard is offline
Moderator From Beyond
Click here for more information.
 
Join Date: Sep 2004
Location: Israel
Posts: 26,942 Shadow Wizard User rank is General 8th Grade (Above 100000 Reputation Level)Shadow Wizard User rank is General 8th Grade (Above 100000 Reputation Level)Shadow Wizard User rank is General 8th Grade (Above 100000 Reputation Level)Shadow Wizard User rank is General 8th Grade (Above 100000 Reputation Level)Shadow Wizard User rank is General 8th Grade (Above 100000 Reputation Level)Shadow Wizard User rank is General 8th Grade (Above 100000 Reputation Level)Shadow Wizard User rank is General 8th Grade (Above 100000 Reputation Level)Shadow Wizard User rank is General 8th Grade (Above 100000 Reputation Level)Shadow Wizard User rank is General 8th Grade (Above 100000 Reputation Level)Shadow Wizard User rank is General 8th Grade (Above 100000 Reputation Level)Shadow Wizard User rank is General 8th Grade (Above 100000 Reputation Level)Shadow Wizard User rank is General 8th Grade (Above 100000 Reputation Level)Shadow Wizard User rank is General 8th Grade (Above 100000 Reputation Level)Shadow Wizard User rank is General 8th Grade (Above 100000 Reputation Level)Shadow Wizard User rank is General 8th Grade (Above 100000 Reputation Level)Shadow Wizard User rank is General 8th Grade (Above 100000 Reputation Level)  Folding Points: 340699 Folding Title: Super Ultimate Folder - Level 1Folding Points: 340699 Folding Title: Super Ultimate Folder - Level 1Folding Points: 340699 Folding Title: Super Ultimate Folder - Level 1Folding Points: 340699 Folding Title: Super Ultimate Folder - Level 1Folding Points: 340699 Folding Title: Super Ultimate Folder - Level 1Folding Points: 340699 Folding Title: Super Ultimate Folder - Level 1
Time spent in forums: 3 Months 1 Week 5 Days 12 h 47 m 26 sec
Reputation Power: 1537
Quote:
Originally Posted by Microsoft
The revision of the CGI specification used by the server. The format is CGI/revision.

ok, but I thought CGI is "language" same way like ASP, only older. so why would ASP care what version of CGI the server use and support? unless I mis-understand something basic here...

Reply With Quote
  #4  
Old August 21st, 2005, 06:36 AM
elijathegold's Avatar
elijathegold elijathegold is offline
Senior Fire Wizard
ASP Free God 1st Plane (5500 - 5999 posts)
 
Join Date: Feb 2005
Location: Ashford, Kent. England
Posts: 5,651 elijathegold User rank is Captain (20000 - 30000 Reputation Level)elijathegold User rank is Captain (20000 - 30000 Reputation Level)elijathegold User rank is Captain (20000 - 30000 Reputation Level)elijathegold User rank is Captain (20000 - 30000 Reputation Level)elijathegold User rank is Captain (20000 - 30000 Reputation Level)elijathegold User rank is Captain (20000 - 30000 Reputation Level)elijathegold User rank is Captain (20000 - 30000 Reputation Level)elijathegold User rank is Captain (20000 - 30000 Reputation Level)elijathegold User rank is Captain (20000 - 30000 Reputation Level)  Folding Points: 1577358 Folding Title: Super Ultimate Folder - Level 4Folding Points: 1577358 Folding Title: Super Ultimate Folder - Level 4Folding Points: 1577358 Folding Title: Super Ultimate Folder - Level 4Folding Points: 1577358 Folding Title: Super Ultimate Folder - Level 4Folding Points: 1577358 Folding Title: Super Ultimate Folder - Level 4Folding Points: 1577358 Folding Title: Super Ultimate Folder - Level 4Folding Points: 1577358 Folding Title: Super Ultimate Folder - Level 4Folding Points: 1577358 Folding Title: Super Ultimate Folder - Level 4Folding Points: 1577358 Folding Title: Super Ultimate Folder - Level 4
Time spent in forums: 2 Months 2 Weeks 2 Days 3 h 57 m 51 sec
Reputation Power: 301
Quote:
Originally Posted by Shadow Wizard
ok, but I thought CGI is "language" same way like ASP, only older. so why would ASP care what version of CGI the server use and support? unless I mis-understand something basic here...


CGI is Common Gateway Interface which is a standard for
interfacing external applications with information servers, such as
HTTP or Web servers.

Source: http://hoohoo.ncsa.uiuc.edu/cgi/intro.html
__________________
And he picked it all up... in his pick-up.





Friends of Shemzilla

Reply With Quote
  #5  
Old August 21st, 2005, 06:46 AM
Shadow Wizard's Avatar
Shadow Wizard Shadow Wizard is offline
Moderator From Beyond
Click here for more information.
 
Join Date: Sep 2004
Location: Israel
Posts: 26,942 Shadow Wizard User rank is General 8th Grade (Above 100000 Reputation Level)Shadow Wizard User rank is General 8th Grade (Above 100000 Reputation Level)Shadow Wizard User rank is General 8th Grade (Above 100000 Reputation Level)Shadow Wizard User rank is General 8th Grade (Above 100000 Reputation Level)Shadow Wizard User rank is General 8th Grade (Above 100000 Reputation Level)Shadow Wizard User rank is General 8th Grade (Above 100000 Reputation Level)Shadow Wizard User rank is General 8th Grade (Above 100000 Reputation Level)Shadow Wizard User rank is General 8th Grade (Above 100000 Reputation Level)Shadow Wizard User rank is General 8th Grade (Above 100000 Reputation Level)Shadow Wizard User rank is General 8th Grade (Above 100000 Reputation Level)Shadow Wizard User rank is General 8th Grade (Above 100000 Reputation Level)Shadow Wizard User rank is General 8th Grade (Above 100000 Reputation Level)Shadow Wizard User rank is General 8th Grade (Above 100000 Reputation Level)Shadow Wizard User rank is General 8th Grade (Above 100000 Reputation Level)Shadow Wizard User rank is General 8th Grade (Above 100000 Reputation Level)Shadow Wizard User rank is General 8th Grade (Above 100000 Reputation Level)  Folding Points: 340699 Folding Title: Super Ultimate Folder - Level 1Folding Points: 340699 Folding Title: Super Ultimate Folder - Level 1Folding Points: 340699 Folding Title: Super Ultimate Folder - Level 1Folding Points: 340699 Folding Title: Super Ultimate Folder - Level 1Folding Points: 340699 Folding Title: Super Ultimate Folder - Level 1Folding Points: 340699 Folding Title: Super Ultimate Folder - Level 1
Time spent in forums: 3 Months 1 Week 5 Days 12 h 47 m 26 sec
Reputation Power: 1537
hmm... so you say that ASP is just different implementation of CGI then??

Reply With Quote
  #6  
Old August 21st, 2005, 06:52 AM
elijathegold's Avatar
elijathegold elijathegold is offline
Senior Fire Wizard
ASP Free God 1st Plane (5500 - 5999 posts)
 
Join Date: Feb 2005
Location: Ashford, Kent. England
Posts: 5,651 elijathegold User rank is Captain (20000 - 30000 Reputation Level)elijathegold User rank is Captain (20000 - 30000 Reputation Level)elijathegold User rank is Captain (20000 - 30000 Reputation Level)elijathegold User rank is Captain (20000 - 30000 Reputation Level)elijathegold User rank is Captain (20000 - 30000 Reputation Level)elijathegold User rank is Captain (20000 - 30000 Reputation Level)elijathegold User rank is Captain (20000 - 30000 Reputation Level)elijathegold User rank is Captain (20000 - 30000 Reputation Level)elijathegold User rank is Captain (20000 - 30000 Reputation Level)  Folding Points: 1577358 Folding Title: Super Ultimate Folder - Level 4Folding Points: 1577358 Folding Title: Super Ultimate Folder - Level 4Folding Points: 1577358 Folding Title: Super Ultimate Folder - Level 4Folding Points: 1577358 Folding Title: Super Ultimate Folder - Level 4Folding Points: 1577358 Folding Title: Super Ultimate Folder - Level 4Folding Points: 1577358 Folding Title: Super Ultimate Folder - Level 4Folding Points: 1577358 Folding Title: Super Ultimate Folder - Level 4Folding Points: 1577358 Folding Title: Super Ultimate Folder - Level 4Folding Points: 1577358 Folding Title: Super Ultimate Folder - Level 4
Time spent in forums: 2 Months 2 Weeks 2 Days 3 h 57 m 51 sec
Reputation Power: 301
Quote:
Originally Posted by Shadow Wizard
hmm... so you say that ASP is just different implementation of CGI then??


No... ASP does not use the CGI. CGI is Out Of Process, which
means that each request will create a new process. ASP in In Process.

This has the advantage of being more efficient, but has the
disadvantage of programming errors bringing down the web
server.

Quote:
Originally Posted by MSDN
How does Active Server Pages compare to CGI?

Active Server Pages provides all of the functionality of CGI applications in an easier-to-use and more robust environment.

ASP is an easier way for your server to access information in a form not readable by the client (such as an SQL database) and then act as a gateway between the two to produce information that the client can view and use.

With CGI, the server creates as many processes as the number of client requests received. The more concurrent requests there are, the more concurrent processes created by the server. However, creating a process for every request is time-consuming and requires large amounts of server RAM. In addition, this can restrict the resources available for sharing from the server application itself, slowing down performance and increasing wait times on the Web.

Active Server Pages runs in the same process as the Web Server, handling client requests faster and more efficiently. It is much easier to develop dynamic content and Web applications with ASP.

Reply With Quote
  #7  
Old August 21st, 2005, 07:08 AM
Shadow Wizard's Avatar
Shadow Wizard Shadow Wizard is offline
Moderator From Beyond
Click here for more information.
 
Join Date: Sep 2004
Location: Israel
Posts: 26,942 Shadow Wizard User rank is General 8th Grade (Above 100000 Reputation Level)Shadow Wizard User rank is General 8th Grade (Above 100000 Reputation Level)Shadow Wizard User rank is General 8th Grade (Above 100000 Reputation Level)Shadow Wizard User rank is General 8th Grade (Above 100000 Reputation Level)Shadow Wizard User rank is General 8th Grade (Above 100000 Reputation Level)Shadow Wizard User rank is General 8th Grade (Above 100000 Reputation Level)Shadow Wizard User rank is General 8th Grade (Above 100000 Reputation Level)Shadow Wizard User rank is General 8th Grade (Above 100000 Reputation Level)Shadow Wizard User rank is General 8th Grade (Above 100000 Reputation Level)Shadow Wizard User rank is General 8th Grade (Above 100000 Reputation Level)Shadow Wizard User rank is General 8th Grade (Above 100000 Reputation Level)Shadow Wizard User rank is General 8th Grade (Above 100000 Reputation Level)Shadow Wizard User rank is General 8th Grade (Above 100000 Reputation Level)Shadow Wizard User rank is General 8th Grade (Above 100000 Reputation Level)Shadow Wizard User rank is General 8th Grade (Above 100000 Reputation Level)Shadow Wizard User rank is General 8th Grade (Above 100000 Reputation Level)  Folding Points: 340699 Folding Title: Super Ultimate Folder - Level 1Folding Points: 340699 Folding Title: Super Ultimate Folder - Level 1Folding Points: 340699 Folding Title: Super Ultimate Folder - Level 1Folding Points: 340699 Folding Title: Super Ultimate Folder - Level 1Folding Points: 340699 Folding Title: Super Ultimate Folder - Level 1Folding Points: 340699 Folding Title: Super Ultimate Folder - Level 1
Time spent in forums: 3 Months 1 Week 5 Days 12 h 47 m 26 sec
Reputation Power: 1537
yeah, quite basic stuff. see what happens when you learn only by trial and error?

anyhow, this brings me back to the original question: why would ASP care for the CGI version? or, what can one do with the Request.ServerVariables("GATEWAY_INTERFACE") value? I can find use for any server variable with ease... apart of that one!!

Reply With Quote
  #8  
Old August 21st, 2005, 07:15 AM
elijathegold's Avatar
elijathegold elijathegold is offline
Senior Fire Wizard
ASP Free God 1st Plane (5500 - 5999 posts)
 
Join Date: Feb 2005
Location: Ashford, Kent. England
Posts: 5,651 elijathegold User rank is Captain (20000 - 30000 Reputation Level)elijathegold User rank is Captain (20000 - 30000 Reputation Level)elijathegold User rank is Captain (20000 - 30000 Reputation Level)elijathegold User rank is Captain (20000 - 30000 Reputation Level)elijathegold User rank is Captain (20000 - 30000 Reputation Level)elijathegold User rank is Captain (20000 - 30000 Reputation Level)elijathegold User rank is Captain (20000 - 30000 Reputation Level)elijathegold User rank is Captain (20000 - 30000 Reputation Level)elijathegold User rank is Captain (20000 - 30000 Reputation Level)  Folding Points: 1577358 Folding Title: Super Ultimate Folder - Level 4Folding Points: 1577358 Folding Title: Super Ultimate Folder - Level 4Folding Points: 1577358 Folding Title: Super Ultimate Folder - Level 4Folding Points: 1577358 Folding Title: Super Ultimate Folder - Level 4Folding Points: 1577358 Folding Title: Super Ultimate Folder - Level 4Folding Points: 1577358 Folding Title: Super Ultimate Folder - Level 4Folding Points: 1577358 Folding Title: Super Ultimate Folder - Level 4Folding Points: 1577358 Folding Title: Super Ultimate Folder - Level 4Folding Points: 1577358 Folding Title: Super Ultimate Folder - Level 4
Time spent in forums: 2 Months 2 Weeks 2 Days 3 h 57 m 51 sec
Reputation Power: 301
Quote:
Originally Posted by Shadow Wizard
yeah, quite basic stuff. see what happens when you learn only by trial and error?

anyhow, this brings me back to the original question: why would ASP care for the CGI version? or, what can one do with the Request.ServerVariables("GATEWAY_INTERFACE") value? I can find use for any server variable with ease... apart of that one!!


Well, it is a server variable and as a result, part of the
servervariables collection. I'm not sure that ASP would have much
use for it, but IIS also provides CGI access for languages like perl,
C, VB and so on and CGI programs could find it useful.

Anyway I know what you mean about Trial and Error, It can
leave some huge gaps that you don't know are there. Until
you fall down them

Reply With Quote
  #9  
Old August 21st, 2005, 07:43 AM
Shadow Wizard's Avatar
Shadow Wizard Shadow Wizard is offline
Moderator From Beyond
Click here for more information.
 
Join Date: Sep 2004
Location: Israel
Posts: 26,942 Shadow Wizard User rank is General 8th Grade (Above 100000 Reputation Level)Shadow Wizard User rank is General 8th Grade (Above 100000 Reputation Level)Shadow Wizard User rank is General 8th Grade (Above 100000 Reputation Level)Shadow Wizard User rank is General 8th Grade (Above 100000 Reputation Level)Shadow Wizard User rank is General 8th Grade (Above 100000 Reputation Level)Shadow Wizard User rank is General 8th Grade (Above 100000 Reputation Level)Shadow Wizard User rank is General 8th Grade (Above 100000 Reputation Level)Shadow Wizard User rank is General 8th Grade (Above 100000 Reputation Level)Shadow Wizard User rank is General 8th Grade (Above 100000 Reputation Level)Shadow Wizard User rank is General 8th Grade (Above 100000 Reputation Level)Shadow Wizard User rank is General 8th Grade (Above 100000 Reputation Level)Shadow Wizard User rank is General 8th Grade (Above 100000 Reputation Level)Shadow Wizard User rank is General 8th Grade (Above 100000 Reputation Level)Shadow Wizard User rank is General 8th Grade (Above 100000 Reputation Level)Shadow Wizard User rank is General 8th Grade (Above 100000 Reputation Level)Shadow Wizard User rank is General 8th Grade (Above 100000 Reputation Level)  Folding Points: 340699 Folding Title: Super Ultimate Folder - Level 1Folding Points: 340699 Folding Title: Super Ultimate Folder - Level 1Folding Points: 340699 Folding Title: Super Ultimate Folder - Level 1Folding Points: 340699 Folding Title: Super Ultimate Folder - Level 1Folding Points: 340699 Folding Title: Super Ultimate Folder - Level 1Folding Points: 340699 Folding Title: Super Ultimate Folder - Level 1
Time spent in forums: 3 Months 1 Week 5 Days 12 h 47 m 26 sec
Reputation Power: 1537
thanks for the information, little gap has been filled indeed!


how did you acquire this knowledge, though? part of official studies or just extra knowledge from roaming the internet and forums?

Reply With Quote
  #10  
Old August 21st, 2005, 08:01 AM
elijathegold's Avatar
elijathegold elijathegold is offline
Senior Fire Wizard
ASP Free God 1st Plane (5500 - 5999 posts)
 
Join Date: Feb 2005
Location: Ashford, Kent. England
Posts: 5,651 elijathegold User rank is Captain (20000 - 30000 Reputation Level)elijathegold User rank is Captain (20000 - 30000 Reputation Level)elijathegold User rank is Captain (20000 - 30000 Reputation Level)elijathegold User rank is Captain (20000 - 30000 Reputation Level)elijathegold User rank is Captain (20000 - 30000 Reputation Level)elijathegold User rank is Captain (20000 - 30000 Reputation Level)elijathegold User rank is Captain (20000 - 30000 Reputation Level)elijathegold User rank is Captain (20000 - 30000 Reputation Level)elijathegold User rank is Captain (20000 - 30000 Reputation Level)  Folding Points: 1577358 Folding Title: Super Ultimate Folder - Level 4Folding Points: 1577358 Folding Title: Super Ultimate Folder - Level 4Folding Points: 1577358 Folding Title: Super Ultimate Folder - Level 4Folding Points: 1577358 Folding Title: Super Ultimate Folder - Level 4Folding Points: 1577358 Folding Title: Super Ultimate Folder - Level 4Folding Points: 1577358 Folding Title: Super Ultimate Folder - Level 4Folding Points: 1577358 Folding Title: Super Ultimate Folder - Level 4Folding Points: 1577358 Folding Title: Super Ultimate Folder - Level 4Folding Points: 1577358 Folding Title: Super Ultimate Folder - Level 4
Time spent in forums: 2 Months 2 Weeks 2 Days 3 h 57 m 51 sec
Reputation Power: 301
Quote:
Originally Posted by Shadow Wizard
thanks for the information, little gap has been filled indeed!


how did you acquire this knowledge, though? part of official studies or just extra knowledge from roaming the internet and forums?


A bit of both, I'm mostly self taught but I did complete my Master
CIW Designer and Developer qualifications which had some
instructor led courses.

That involved 10 exams in various subjects including ASP, PHP,
Perl, Javascript, E-Commerce, Java, OO Design, Database Design and website design among others.

10 exams and just to boast a bit. I averaged 94%

Reply With Quote
  #