Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations SkipVought on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

CGI.script_name etc.

Status
Not open for further replies.

lucidtech

IS-IT--Management
Jan 17, 2005
267
0
0
US
I am coding a very large back-end system for a client. Their server is not CGI compatible (I'm not incredibly familiar with CGI, I prefer CF). I do use lines like this in my code to do various things...

<cfform method="POST" action="#CGI.script_name#">

... and although I know the syntax, I'm honestly not sure if this is actually using CGI or if it something included with Coldfusion. Basically, can I use the above line on a server that doesn't have CGI support, but runs Coldfusion. Sorry I don't know more about it.
 
CGI variables come from the ColdFusion server. Place this code on a page and see what happens:

<cfdump var="#cgi#"><cfabort>
 
When I want my script to return to the same script, I just remove the action keyword.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top