Hi all...

I am looking to post a quick reference chart for standard varialbe scopes and their 
values.
When it is finished, I'll format it nicely and create a page for everyone to access.

If you would like to add to this list, please do, or if this allready exists and I'm 
wasting everyone's time, please let me know.

This is what we have so far:


Variable Types
Variables. (local - server memory)
Request. (local - server memory)
'queryname'. (local - server memory)
CFQuery. (local - server memory (1 only/.executiontime))
Form. (local - action page - HTTP Body)
URL. (local - target page - In URL)
CGI. (global - to user - HTTP request)
Cookie. (global - to user - on client)
Session. (global - to user - time limit on server)
Application. (global - to app - time limit on server)
Server. (global - to machine - server memory)
Client. (global - to user -in db or reg)
Caller. (local - to calling page - server memory)
Attributes. (local - to custom tag - server memory)
ThisTag.  (local - to custom tag - server memory)

Return values "scopes"--
CFCatch. (local - server memory)
Error. (local - server memory)
File. (local - server memory)
CFFTP. (local - server memory)
CFHTTP. (local - server memory)
CFStoredProc. (local - server memory)

 

 

Client Variables:

Client.LastVisit

Client.HitCount

Client.TimeCreated



Query Variables:

QueryName.ColumnList

QueryName.RecordCount

QueryName.CurrentRow


Form variables:

Form.FieldNames

 

File Variables:


AttemptedServerFile  -Initial name ColdFusion used attempting to save a file.

ClientDirectory  -The directory the file was uploaded from.

ClientFile  -Original name of file.

ClientFileExt  -Original file extension (no period)

ClientFileName  -Original file name (no extension)

ContentSubType  -MIME subtype of the saved file. 

ContentType  -MIME content type of the saved file.  

DateLastAccessed  -Date and time the uploaded file was last accessed.  

FileExisted   -Was there a name conflict.(Yes or No)

FileSize  -Size of the uploaded file.

FileWasAppended  -Was the file appended to an existing file.(Yes or No)

FileWasOverwritten  -Was the file overwritten.(Yes or No)

FileWasRenamed  -Was the file renamed.(Yes or No)

FileWasSaved   -Was the file saved.(Yes or No)

OldFileSize   -Size of the overwritten file.

ServerDirectory  -"Local" directory of new file.

ServerFile   -Filename of new file.

ServerFileExt   -Extension of the new file. (no periods)

ServerFileName  -Filename of the new file. (no extension)

TimeCreated   -Time the uploaded file was created.

TimeLastModified  -Date and time of the last modification to the uploaded file.

 

 

CGI Variables:

CGI.server_software                         Microsoft-IIS/4.0

CGI.server_name                         cfhub.com

CGI.gateway_interface                         CGI/1.1

CGI.server_protocol                         HTTP/1.1

CGI.server_port                         80

CGI.server_port_secure                         0

CGI.request_method                         GET

CGI.path_info                         /examples/cgi/index.cfm

CGI.path_translated                         e:\web\cfhub\examples\cgi\index.cfm

CGI.script_name                         /examples/cgi/index.cfm

CGI.query_string                         

CGI.remote_host                         216.75.69.34

CGI.remote_addr                         216.75.69.34

CGI.auth_type                         

CGI.remote_ident                         

CGI.content_type                         

CGI.content_length                         0

CGI.http_referer                         

CGI.http_user_agent                         Mozilla/4.0 (compatible; MSIE 5.5; Windows 
NT 5.0)

 


 

 






T: 718.254.9557  ext. 109
F: 718.254.0399
 


~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Structure your ColdFusion code with Fusebox. Get the official book at 
http://www.fusionauthority.com/bkinfo.cfm

Archives: http://www.mail-archive.com/[email protected]/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists

Reply via email to