Its stored as a registry key...<br>
<br>
Go hunting in:<br>
<br>
HKEY_LOCAL_MACHINE\SOFTWARE\Allaire\ColdFusion\CurrentVersion\Server<br>
<br>
For: <br>
<br>
AdminPassword<br>
<br>
Just clear it and it will reset the password to nothing. You can then login and setup your new admin password.
Any easy way round this if you are on the same network is to share the webroot on the server. If you use NT then share it as webroot$. Then map it on your client as a network drive in this example we'll use G:. The settings you will need if you use the settings above are:<br>
<br>
In NT/95 etc...
The Idea of using hidden form fields can be made a lot easier by using a custom tag.. I took the initial idea from Ben Forta and made it a lot easier to understand.<br>
<br>
Create a page called embedfields.cfm in your c:\cfusion\custom tags directory. The page should consist of the code...
Use javascript in the <body> tag of your page.<br>
<br>
Use this syntax:<br>
<body onload="document.myform.myfield.focus();"><br>
<br>
With the code above you have to give your form and field a name eg name="myform" and name="myfield".<br>
With the next...
Take a look at the Cold Fusion utility CFCRYPT.<br>
Be careful though as its a one way process. Allaire do not provide a CFDECRYPT (for obvious reasons). So make sure you backup the the code you are going to encrypt before you try this process.
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.