Re: redirect page

2009-05-22 Thread Ryan Letulle
I always start my path(s) from the webroot. (i.e. /) In your case it appears that would be /index.cfm FYI Depending on your situation you might want to create a way to set the root path in your app in case you ever install it in a folder other than a webroot.. -- Ryan On Fri, May 22, 2009 at

RE: redirect page

2009-05-22 Thread Marius Milosav
You hav eto go up one directory,try: cfif name ='David' cflocation url=../index.cfm /cfif -- Marius -Original Message- From: Pranathi Reddy [mailto:rk.prana...@gmail.com] Sent: May 22, 2009 12:48 PM To: cf-talk Subject: redirect page Hi , I am trying to move back one directory and

Re: redirect page

2009-05-22 Thread Pranathi Reddy
Thanks alot... Marius.. It worked You hav eto go up one directory,try: cfif name ='David' cflocation url=../index.cfm /cfif -- Marius Hi , I am trying to move back one directory and redirect the page to another page. eg: I am at page http:/localhost/Extradirectory/newfile.cfm and

Re: redirect page

2009-05-22 Thread Gonzo Rock
back up one directory using ../ or ../../ takes you back two directories etc. On Fri, May 22, 2009 at 9:48 AM, Pranathi Reddy rk.prana...@gmail.comwrote: Hi , I am trying to move back one directory and redirect the page to another page. eg: I am at page

Re: redirect page

2009-05-22 Thread Ryan Letulle
r u sure this will work the same in all doctypes? -- Ryan On Fri, May 22, 2009 at 12:10 PM, Gonzo Rock gonzor...@gmail.com wrote: back up one directory using ../ or ../../ takes you back two directories etc. On Fri, May 22, 2009 at 9:48 AM, Pranathi Reddy rk.prana...@gmail.com wrote:

Re: redirect page

2009-05-22 Thread Pranathi Reddy
I can redirect it but have a new problem now ... I am unable to access the session variables.. I have to access the session varaibles declared in newfile.cfm. If I browse separately then I can but if I redirect and work on it it doesnt. Any ideas.. r u sure this will work the same in all

Re: redirect page

2009-05-22 Thread Ryan Letulle
where is ur application.cfm? -- Ryan On Fri, May 22, 2009 at 12:54 PM, Pranathi Reddy rk.prana...@gmail.comwrote: I can redirect it but have a new problem now ... I am unable to access the session variables.. I have to access the session varaibles declared in newfile.cfm. If I browse

Re: redirect page

2009-05-22 Thread Pranathi Reddy
/inetpub/project1/application.cfc /inetpub/project1/index.cfm /inetpub/project1/Extradirectory/newfile.cfm Moving from newfile.cfm to index.cfm where is ur application.cfm? -- Ryan On Fri, May 22, 2009 at 12:54 PM, Pranathi Reddy rk.prana...@gmail.comwrote:

Re: redirect page

2009-05-22 Thread Ryan Letulle
Hmmm, try cfheader instead of cflocation. Did you say which version of cf u r using? -- Ryan On Fri, May 22, 2009 at 1:17 PM, Pranathi Reddy rk.prana...@gmail.comwrote: /inetpub/project1/application.cfc /inetpub/project1/index.cfm /inetpub/project1/Extradirectory/newfile.cfm Moving

Re: redirect page

2009-05-22 Thread Priya Koya
I tried but it dont know ... wats wrong .. I am sing coldfusion8. On Fri, May 22, 2009 at 4:37 PM, Ryan Letulle bayous...@gmail.com wrote: Hmmm, try cfheader instead of cflocation. Did you say which version of cf u r using? -- Ryan On Fri, May 22, 2009 at 1:17 PM, Pranathi Reddy

Re: redirect page

2009-05-22 Thread Ryan Letulle
show me ur application.cfc -- Ryan On Fri, May 22, 2009 at 8:35 PM, Priya Koya priya23...@gmail.com wrote: I tried but it dont know ... wats wrong .. I am sing coldfusion8. On Fri, May 22, 2009 at 4:37 PM, Ryan Letulle bayous...@gmail.com wrote: Hmmm, try cfheader instead of

Re: redirect page

2009-05-22 Thread Pranathi Reddy
I figured it out .. i was deleting the sessions at the index.cfm so sessions are cleared Sorry I wasted your time Pranathi... show me ur application.cfc -- Ryan ~| Want to reach the ColdFusion community