my apologies, you're right. The addtoken="no" bit makes it work.

I wonder if there's a reason for this...(CF5)

> -----Original Message-----
> From: Sridhar Pedamallu
> [mailto:[EMAIL PROTECTED]]
> Sent: 10 January 2003 13:54
> To: [EMAIL PROTECTED]
> Subject: RE: [ cf-dev ] anchors in redirects
> 
> 
> try changing it from
> <cflocation url="index.cfm?foo=1&bar=#bar###myanchor">
> 
> to
> 
> <cflocation url="index.cfm?foo=1&bar=#bar#&##myanchor" addtoken="No">
> 
> i am have this code in my site since 5/6 months. the 
> "&##myanchor" should be
> the last part of the url. That is the reason why i am using 
> "addtoken="No"".
> 
> 
> 
> 
> -----Original Message-----
> From: Rich Wild [mailto:[EMAIL PROTECTED]]
> Sent: Friday, January 10, 2003 01:43
> To: '[EMAIL PROTECTED]'
> Subject: RE: [ cf-dev ] anchors in redirects
> 
> 
> not for me it doesn't.
> 
> > -----Original Message-----
> > From: Sridhar Pedamallu
> > [mailto:[EMAIL PROTECTED]]
> > Sent: 10 January 2003 12:56
> > To: [EMAIL PROTECTED]
> > Subject: RE: [ cf-dev ] anchors in redirects
> > 
> > 
> > <cflocation url="index.cfm?fuseaction=action&##myanchor" 
> > addtoken="No">
> > I use cflocation like this. and it works.
> > 
> > -----Original Message-----
> > From: Rich Wild [mailto:[EMAIL PROTECTED]]
> > Sent: Thursday, January 09, 2003 05:35
> > To: '[EMAIL PROTECTED]'
> > Subject: RE: [ cf-dev ] anchors in redirects
> > 
> > 
> > 
> > yea - that works.
> > luckily this is for the admin side where I can dictate that 
> > the admin must
> > have JS turned on, or I'd have to rework the whole thing.
> > 
> > There's probably a rational explanation about the cflocation 
> > one doesn't
> > work...
> > 
> > 
> > > -----Original Message-----
> > > From: Douglas Humphris [mailto:[EMAIL PROTECTED]]
> > > Sent: 09 January 2003 17:34
> > > To: [EMAIL PROTECTED]
> > > Subject: RE: [ cf-dev ] anchors in redirects
> > > 
> > > 
> > > does this work? (out of interest):
> > > 
> > > document.location = 'index.cfm?foo=1&bar=#bar###myanchor';
> > > 
> > > -----Original Message-----
> > > From: Rich Wild [mailto:[EMAIL PROTECTED]]
> > > Sent: 09 January 2003 17:28
> > > To: '[EMAIL PROTECTED]'
> > > Subject: RE: [ cf-dev ] anchors in redirects
> > > 
> > > 
> > > yea - might have to.
> > > 
> > > > -----Original Message-----
> > > > From: Douglas Humphris [mailto:[EMAIL PROTECTED]]
> > > > Sent: 09 January 2003 17:30
> > > > To: [EMAIL PROTECTED]
> > > > Subject: RE: [ cf-dev ] anchors in redirects
> > > > 
> > > > 
> > > > have you tried redirecting with javascript instead of 
> cflocation?
> > > > D
> > > > 
> > > > -----Original Message-----
> > > > From: Rich Wild [mailto:[EMAIL PROTECTED]]
> > > > Sent: 09 January 2003 17:25
> > > > To: '[EMAIL PROTECTED]'
> > > > Subject: RE: [ cf-dev ] anchors in redirects
> > > > 
> > > > 
> > > > > <cflocation url="index.cfm##myanchor?foo=1&bar=#bar#">
> > > > 
> > > > yup, doesnae work.
> > > > 
> > > > > alternatively, you could pass myanchor as another 
> > > > parameter, then use
> > > > > javascript to jump to the page anchor.
> > > > 
> > > > that was my backup, but wanted to see if I was being 
> thick first.
> > > > 
> > > > what's strange is that in another part of the app I have a 
> > > > form (using GET)
> > > > where the action is index.cfm#myanchor, and although this 
> > > > works fine, the
> > > > url doesn't seem to include the anchor, which is odd.
> > > > 
> > > > > -----Original Message-----
> > > > > From: [EMAIL PROTECTED]
> > > > > [mailto:[EMAIL PROTECTED]]
> > > > > Sent: 09 January 2003 17:25
> > > > > To: [EMAIL PROTECTED]
> > > > > Subject: Re: [ cf-dev ] anchors in redirects
> > > > > 
> > > > > 
> > > > > 
> > > > > you tried
> > > > > <cflocation url="index.cfm##myanchor?foo=1&bar=#bar#">
> > > > > 
> > > > > alternatively, you could pass myanchor as another 
> > > > parameter, then use
> > > > > javascript to jump to the page anchor.
> > > > > 
> > > > > 
> > > > > Duncan Cumming
> > > > > IT Manager
> > > > > 
> > > > > http://www.alienationdesign.co.uk
> > > > > mailto:[EMAIL PROTECTED]
> > > > > Tel: 0141 575 9700
> > > > > Fax: 0141 575 9600
> > > > > 
> > > > > Creative solutions in a technical world
> > > > > 
> > > > > 
> > > > 
> > > 
> > 
> ----------------------------------------------------------------------
> > > > > Get your domain names online from:
> > > > > http://www.alienationdomains.co.uk
> > > > > Reseller options available!
> > > > > 
> > > > 
> > > 
> > 
> ----------------------------------------------------------------------
> > > > > 
> > > > 
> > > 
> > 
> ----------------------------------------------------------------------
> > > > > 
> > > > > 
> > > > >                                                               
> > > > >                                                      
> > > > >                     Rich Wild                                 
> > > > >                                                      
> > > > >                     <r.wild@e-man        To:     
> > > > > "'[EMAIL PROTECTED]'" 
> > <[EMAIL PROTECTED]>     
> > > > >                     go.com>              cc:                  
> > > > >                                                      
> > > > >                                          Subject:     [ 
> > > > > cf-dev ] anchors in redirects                              
> > > > >                     01/09/03                                  
> > > > >                                                      
> > > > >                     05:01 PM                                  
> > > > >                                                      
> > > > >                     Please                                    
> > > > >                                                      
> > > > >                     respond to                                
> > > > >                                                      
> > > > >                     dev                                       
> > > > >                                                      
> > > > >                                                               
> > > > >                                                      
> > > > >                                                               
> > > > >                                                      
> > > > > 
> > > > > 
> > > > > 
> > > > > I'm being really 'Little Friday' thick at the moment when it 
> > > > > comes to a
> > > > > basic bit of functionality.
> > > > > 
> > > > > Can someone point out the schoolboy error I'm making?
> > > > > 
> > > > > I'm trying to redirect to a page that has an internal anchor 
> > > > > in it using
> > > > > cflocation.
> > > > > 
> > > > > so I'm doing something like:
> > > > > 
> > > > > <cflocation url="index.cfm?foo=1&bar=#bar###myanchor">
> > > > > 
> > > > > and its relocating to index.cfm but the url is missing the 
> > > > > final anchor, so
> > > > > its not jumping to that bit of the page.
> > > > > 
> > > > > I'm sure I've done this before.
> > > > > 
> > > > > The new page has <a name="myanchor"></a> in it.
> > > > > 
> > > > > 
> > > > > 
> > > > > -------------------------------------------------------
> > > > > Rich "Feeling like Homer" Wild
> > > > > Senior Web Developer
> > > > > 
> > > > > -------------------------------------------------------
> > > > > e-mango                             Tel: 01202 755 300
> > > > > Gild House                      Fax: 01202 755 301
> > > > > 74 Norwich Avenue West
> > > > > Bournemouth                   Mailto:[EMAIL PROTECTED]
> > > > > BH2 6AW, UK                      http://www.e-mango.com
> > > > > -------------------------------------------------------
> > > > > This message may contain information which is legally
> > > > > privileged and/or confidential.  If you are not the
> > > > > intended recipient, you are hereby notified that any
> > > > > unauthorised disclosure, copying, distribution or use
> > > > > of this information is strictly prohibited. Such
> > > > > notification notwithstanding, any comments, opinions,
> > > > > information or conclusions expressed in this message
> > > > > are those of the originator, not of e-mango.com ltd,
> > > > > unless otherwise explicitly and independently indicated
> > > > > by an authorised representative of e-mango.com ltd.
> > > > > -------------------------------------------------------
> > > > > 
> > > > > 
> > > > > --
> > > > > ** Archive: 
> > > http://www.mail-archive.com/dev%40lists.cfdeveloper.co.uk/
> > > > 
> > > > To unsubscribe, e-mail: [EMAIL PROTECTED]
> > > > For additional commands, e-mail: 
> [EMAIL PROTECTED]
> > > > For human help, e-mail: [EMAIL PROTECTED]
> > > > 
> > > > 
> > > > 
> > > > 
> > > > 
> > > > 
> > > > -- 
> > > > ** Archive: 
> > http://www.mail-archive.com/dev%40lists.cfdeveloper.co.uk/
> > > 
> > > To unsubscribe, e-mail: [EMAIL PROTECTED]
> > > For additional commands, e-mail: [EMAIL PROTECTED]
> > > For human help, e-mail: [EMAIL PROTECTED]
> > > 
> > 
> > 
> > -- 
> > ** Archive: 
> http://www.mail-archive.com/dev%40lists.cfdeveloper.co.uk/
> > 
> > To unsubscribe, e-mail: [EMAIL PROTECTED]
> > For additional commands, e-mail: [EMAIL PROTECTED]
> > For human help, e-mail: [EMAIL PROTECTED]
> > 
> > 
> > 
> > -- 
> > ** Archive: 
http://www.mail-archive.com/dev%40lists.cfdeveloper.co.uk/
> 
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> For human help, e-mail: [EMAIL PROTECTED]
> 
> 
> -- 
> ** Archive: http://www.mail-archive.com/dev%40lists.cfdeveloper.co.uk/
> 
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> For human help, e-mail: [EMAIL PROTECTED]
> 
> 
> 
> -- 
> ** Archive: http://www.mail-archive.com/dev%40lists.cfdeveloper.co.uk/
> 
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> For human help, e-mail: [EMAIL PROTECTED]
> 
> 
> -- 
> ** Archive: http://www.mail-archive.com/dev%40lists.cfdeveloper.co.uk/
> 
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> For human help, e-mail: [EMAIL PROTECTED]
> 
> -- 
> ** Archive: http://www.mail-archive.com/dev%40lists.cfdeveloper.co.uk/
> 
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> For human help, e-mail: [EMAIL PROTECTED]
> 


-- 
** Archive: http://www.mail-archive.com/dev%40lists.cfdeveloper.co.uk/

To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
For human help, e-mail: [EMAIL PROTECTED]

-- 
** Archive: http://www.mail-archive.com/dev%40lists.cfdeveloper.co.uk/

To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
For human help, e-mail: [EMAIL PROTECTED]


-- 
** Archive: http://www.mail-archive.com/dev%40lists.cfdeveloper.co.uk/

To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
For human help, e-mail: [EMAIL PROTECTED]

Reply via email to