At 12:23 PM 01/28/2002 -0500, you wrote:
>         So far I seem to be getting great responses, but none seem to
>address the actual problem.  I want the user to be sent to the page
>that he
>originally requested after logging in.  It should not matter what page
>he
>tried to get to.  He should go to that page, not a page that is
>programmed
>statically into the login page.


  You are correct, I didn't address that issue; I must have missed it in 
your original post.
  The way I do this is to pass a 'locationID' or 'return' variable through 
the cflocation.    After the user correctly logs in, use a cfswitch to 
point the user back to the page he originally came from.


  If you are feeling might adventurous, or if there are too many pages that 
a user could hit for you to document, you can even pass the template name 
as a url variable and eliminate the cfswitch entirely after the complete 
login.  A cgi variable can give you the template name: cgi.Script_Name, for 
instance.




--
Jeffry Houser | mailto:[EMAIL PROTECTED]
AIM: Reboog711  | ICQ: 5246969 | Fax / Phone: 860-223-7946
--
Need a Web Developer?  Contact me!
My Book: Instant ColdFusion 5  | http://www.instantcoldfusion.com
My New Book: ColdFusion: A Beginner's Guide February 2002
--
Far Cry Fly, Alternative Folk Rock
http://www.farcryfly.com | http://www.mp3.com/FarCryFly
______________________________________________________________________
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

Reply via email to