macromedia.coldfusion.getting_started
[Top] [All Lists]

Re: Applicaition variable for Max Post Size?

Subject: Re: Applicaition variable for Max Post Size?
From: "Daverms"
Date: Thu, 7 Aug 2008 00:56:24 +0000 UTC
Newsgroups: macromedia.coldfusion.getting_started

Hi,

 Another way of accomplishing this is,



 <cfset adminObj=CreateObject("component","CFIDE.adminapi.administrator")>
 <cfset adminObj_login=adminObj.login("your_cf_administrator_password")>
 <cfset runtimeObj=CreateObject("component","CFIDE.adminapi.runtime")>
 <cfset post_size_limit=runtimeObj.getRuntimeProperty("PostSizeLimit")>
 <cfoutput>#post_size_limit# (MB)</cfoutput>


<Prev in Thread] Current Thread [Next in Thread>