|
|
|||||||||
|
|||||||||
|
|||||||||
| |
||
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
#1
|
||||
|
||||
|
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. |
|
#2
|
|||
|
|||
|
|
|
#3
|
||||
|
||||
|
Quote:
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... |
|
#4
|
||||
|
||||
|
Quote:
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 |
|
#5
|
||||
|
||||
|
hmm... so you say that ASP is just different implementation of CGI then??
|
|
#6
|
||||
|
||||
|
Quote:
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:
|
|
#7
|
||||
|
||||
|
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!! |
|
#8
|
||||
|
||||
|
Quote:
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 ![]() |
|
#9
|
||||
|
||||
|
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? |
|
#10
|
||||
|
||||
|
Quote:
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% ![]() |