This is how I do it using a self-submitting form: <cfset variables.thisPage = getFileFromPath(cgi.script_name)>
<cfoutput> <form action="#variables.thisPage#"> ... If I need to pass URL params, I use: <cfoutput> <form action="#variables.thisPage#?id=123"> ... IOW, I don't automatically pull in the URL variables on each form action. M!ke -----Original Message----- From: Brant Winter [mailto:[EMAIL PROTECTED] Sent: Wednesday, December 08, 2004 5:28 AM To: CF-Talk Subject: <form action="???????"> hi - just wondering what people prefer to use in their login code in the Application.cfm file and its associated form template. The "Developing Coldfusion MX Applications" book , pp.363, states that the form action should be: <form action="#CGI.script_name#?#CGI.query_string#" method="post"> It does seem to work because when I try to access a page say something.cfm that i ssecured with the <cflogin> stuff in the Application.cfm file, it will actually post me back to that something.cfm page when the login is finished, but i get the followig appended to the URL string: /test1/something.cfm#CGI.script_name#?#CGI.query_string# Any thoughts or suggestions ???? ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Special thanks to the CF Community Suite Silver Sponsor - New Atlanta http://www.newatlanta.com Message: http://www.houseoffusion.com/lists.cfm/link=i:4:186629 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4 Donations & Support: http://www.houseoffusion.com/tiny.cfm/54

