1. Why is the <cfcookie> transplant passed in the CFMX to Cf5?
Answer: CF5.0 <cfcookie> and <cflocation> cannot be placed directly on the same page. Check your page code to see if there are any of these two tags sharing a page. This problem will not appear in the CFMX. However, when applied to CF5, the issue of cookie invalidation occurs.
2. Does using a proxy server in a browser cause problems with local debugging of CFMX applications?
Answer: There must be a problem. When using Http://localhost:8500/xxx's path for CFMX application testing, click on the browser's "Toos->internet Options...->connections->lan Settings To confirm that you do not use proxy server, if you use, in the process of debugging, many database applications will have TCP/IP errors, in fact, your application is not wrong, but this proxy server option in the mischief.
Does the cookie in the 3.ColdFusion have a different setting? If so, is it necessary to use a different set of methods in the same project?
Answer: Cookies in ColdFusion are set in different ways. The default is temporary storage, which is to close the browser and the cookie disappears. This Cookie can be set by using the <cfset cookie.cookiename= "xxx" >, or by using the <cfparam> method. This cookie can be used to determine the duration of a single user's stay in one application, the items in the cart, and other temporary variables. When we need to set a long cookie, use <cfcookie> to set it, because the Expires property retains the value of the cookie for a long time.
4. Can multiple servers with different IP mappings recognize the same cookie?
Answer: Yes. But all should be with XXX. The type of domain.com starts with a level 2 domain name and then uses the path attribute to control when setting cookies in CF, such as <cfcookie name= "xxx" value= "xxx" domain=. Domain.com ">.
5. Why does the virtual mapping I set in the CF administrator not work? Does this have anything to do with your operating system?
Answer: In the Windows operating system, pay special attention to the mapping configuration of the physical path corresponding to the virtual path. CFMX Updater3 Fixed a problem where adding a virtual map to the CFMX administrator was invalid. Also, if there is a problem with the configuration of individual servers, manually modify the Jrun-web.xml files under the Cf_root\wwwroot\web-inf folder. For example, add a virtual map to the physical D disk of the images folder, configured in the following way:
<virtual-mapping>
< resource-path>/images/*</resource-path>
<system-path>D:\images</system-path>
</virtual-mapping>
The CFMX service can be restarted after the modification. The above issues do not appear on UNIX and Linux operating systems.
6. How to judge the Coldfusionmx service running correctly on UNIX system?
A: It is certainly convenient to enter the graphical UNIX admin interface. However, there is a more convenient command for Web administrators to use. At the command line type: ps-eaf | grep cfusion. In fact, the above command is to look at the status of the cfusion process in the current system, and if the service is running, wait until the following information is similar:
Nobody 4528 1 12:44 pts/0 00:00:07/opt/coldfusionmx/runtime/bin/cfusion-start
If this information is not available, the service process is proven to be problematic.
7. How do I manage coldfusionmx services on UNIX systems (as simple as Windows?) )?
A: Managing CFMX on Unix may be simpler than Windows. First enter Unix with root permissions, and then type: CD Cf_root/bin. After that, you can enter different commands to manage the CFMX process:
Start CFMX Service, enter: ColdFusion start
Stop CFMX Service, enter: ColdFusion stop
Restart CFMX service, enter: ColdFusion restart
View CFMX service performance, enter: ColdFusion status