Try this:
<CFSET #Page_Type# = "Logon_approved">
<cflocation URL="/photos/addphoto.cfm?Page_type=#page_type#">
It will allow you to point a user using CFLocation, then send variables t
o
verify they are supposed to be their. You cold also recheck the cookie.
Michael Blair
-----Original Message-----
From: Chris Luksha [mailto:[EMAIL PROTECTED]]
Sent: Monday, January 28, 2002 10:52 AM
To: CF-Talk
Subject: Login forms
I am new to CF and wondering if there is a way to have a login page that
would be accessed when a user comes to any page in the application, (Say
they bookmarked a page deeper than the root,) and the user would be sent
to
the originally requested page after logging in.
ie.
User goes to <http://www.webaddress.com/photos/addphoto.cfm>
ww.webaddress.com/photos/addphoto.cfm or showphots.cfm
User is sent to to <http://www.webaddress.com/photos>
ww.webaddress.com/photos/login.cfm
After logging in user is replaced to
<http://www.webaddress.com/photos/addphoto.cfm>
ww.webaddress.com/photos/addphoto.cfm or showphotos.cfm respectively.
Thanks for any help in advance.
Chris
Chris Luksha
IS/Web Programmer
Helmers Publishing, Inc.
Publishers of
Desktop Engineering and
Supply Chain Systems Magazines
(603)924-9631 ext. 267
[EMAIL PROTECTED] <mailto:[EMAIL PROTECTED]>
______________________________________________________________________
Why Share?
Dedicated Win 2000 Server � PIII 800 / 256 MB RAM / 40 GB HD / 20 GB MO/XFER
Instant Activation � $99/Month � Free Setup
http://www.pennyhost.com/redirect.cfm?adcode=coldfusionc
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Archives: http://www.mail-archive.com/[email protected]/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists