Chris,
> 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. > Easy solution: Pick up the CGI.HTTP_REFERER variable. Store this in a form variable as say <input type="hidden" name="returnpage" value="#cgi.http_referer#"> When the user is correctly logged in use the form variable, form.returnpage, in a cflocation or JS redirect to send them where they were originally. Make sure you tag on the URLToken (client.cfid and client.cftoken), so that your users session is perpetuated. Its not an ideal solution and may well be flawed, but it gives you an idea of what you can do. Regards Stephen ______________________________________________________________________ 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

