you can/should also recover form submit data (useful when there are 
forms
where users might spend a while, like bbs/forums) by storing those 
variables
in a temporary variable space or even hidden on the login form itself; 
this
way the user can pickup their form where they left off after logging 
in.
you'll have to parse the url querystring manually though since i don't 
think
there's a way to get the url variables in a list.

brendan avery 2.0 - [EMAIL PROTECTED]
310.779.2211 - santa monica, california

> -----Original Message-----
> From: Jeffry Houser [mailto:[EMAIL PROTECTED]]
> Sent: Monday, January 28, 2002 09:59
> To: CF-Talk
> Subject: RE: Login forms
> 
> 
> 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
> 

______________________________________________________________________
Dedicated Windows 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=coldfusiona
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