freelanceprogrammers.org Forum Index » Cold Fusion

Help!!!


View user's profile Post To page top
zamvil Posted: Fri Sep 09, 2005 11:05 pm


Joined: 27 Aug 2005

Posts: 6
Help!!!
Hi,

I have my web app with login and password and I have the
application.cfm where I have variables.

Well if I login from the same folder I donīt have problems but if I
want to login from my main page of my Intranet (one level below of
my web app) where I want that when I login I want to get in to my
web app directly (obviously inserting username and password in the
main page of the Intranet).

The problem is that when the app get the LoginCheck.cfm page display
that the variables are not recognized.

I think display this because is not loading the application.cfm page
where I declare those variables.

How can I load the application.cfm page when I access the
LoginCheck.cfm (index`s action page) and not the index.cfm?


----------

I have this in my main page of Intranet(index.cfm).

<CFIF IsDefined("Form.UserLogin")>
<CFINCLUDE TEMPLATE="../micomimsa/LoginCheck.cfm">
</CFIF>


<FORM ACTION="index.cfm" NAME="formcheck" METHOD="POST"
onsubmit="return formCheck(this);">
<cfoutput>
<td colspan="3" valign="middle" background="images/fondo-
naranja.gif">
<table width="100%" border="0" align="center"
cellpadding="0" cellspacing="0">
<tr>
<td width="22%" class="Titulos">Username:

</td>
<td width="20%" ><input name="UserLogin" type="text"
class="txtGeneral" value="#val#" size="12"></td>
<td width="22%" class="Titulos">Password:
</td>
<td width="36%"><input name="UserPassword" type="password"
class="txtGeneral" size="12"> <input name="Submit" type="submit"
class="txtGeneral" value="Go"></td>
</tr>
</table>
</td> </cfoutput>
</form>
Reply with quote
Send private message
Post new topic Reply to topic
Display posts from previous:   
 

All times are GMT
Page 1 of 1
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
Freelace Website Designer - Customer web design and software building.
China Wholesale - Electronics Products
Character Studio - Tutorials and Help