> I know how to capture the basic URL info, using CGI vars such > as server_name, query_string, etc. > > However, I can't figure out how to capture an anchor tag that > may be on an URL. > > For example: > > http://www.mydomain.com/foo/bar.cfm?var=Blah#thisPageSection > > How do I grab "#thisPageSection" using CF? > > My big picture goal is this: > > User is given a link to a page which may or may not have > variables & an anchor reference. User clicks link, and page > looks to authenticate. If not logged in, current page info > (including all parameters, etc) is stored in a session var, > user is kicked to the login page. After successfully logging > in, user is redirected back to original page, based on session var. > > I have everything working correctly, except that I can't > figure out how to grab the anchor info on the original URL.
It's not sent to the server, so you can't capture it. If you want to send that to the server, you will have to use JavaScript to capture it, then put it somewhere the server can see it, on a subsequent page request. Dave Watts, CTO, Fig Leaf Software http://www.figleaf.com/ Fig Leaf Software provides the highest caliber vendor-authorized instruction at our training centers in Washington DC, Atlanta, Chicago, Baltimore, Northern Virginia, or on-site at your location. Visit http://training.figleaf.com/ for more information! ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Upgrade to Adobe ColdFusion MX7 Experience Flex 2 & MX7 integration & create powerful cross-platform RIAs http:http://ad.doubleclick.net/clk;56760587;14748456;a?http://www.adobe.com/products/coldfusion/flex2/?sdid=LVNU Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:267680 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4

