Ah. I missed that you wanted to capture the redirect information. Duh! I would suggest one of two things:
1) Just have your login form page override the "body" value of the view collection (or whatever name you use for your core template body) and then when they submit (as long as you have your check auth function set up to process login data), they are submitting back to the same page. That's how I prefer to do it. In other words, make your form action="" and let your login check do the heavy lifting. 2) Do a hidden formfield that captures the CGI.HTTP_REFERER (or however you process it into the event) and pass that through the auth process. You could go through creating a separate handler to do that, but a <cflocation> after login is definitely going to be fast and painless. Trying to deal with that through MG means having to parse the referrer query string into events and event variables and, to me, that would be kind of silly since you can keep the URI string intact and go. JMHO. HTH, Jon On Apr 10, 2007, at 11:51 AM, Robert Rawlins - Think Blue wrote: > > What I'm struggling to achieve those is that IF they successfully > login, > then to post them to the page they were trying to access. So if a > user goes > to event=articles and they are not logged in, they get passed to > event=login > where they input the correct information, it'll log them in, and > pass them > back to event=articles, which they will now be able to see. > > Thanks again, > > Rob > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| ColdFusion MX7 and Flex 2 Build sales & marketing dashboard RIAâs for your business. Upgrade now http://www.adobe.com/products/coldfusion/flex2?sdid=RVJT Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:274953 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4

