ta Duncan,Aidan

Both right about the loop, Aidan's script works now

<cflock scope="session" timeout="10" type="exclusive">
<cfif not isDefined("session.Loggedin") and  #cgi.script_name#  neq
"/testcfm/test.cfm">
   <cflocation url="ssfrmtry.cfm">
</cfif>
</cflock>

I had to put in the full virtual path above. I guess I could put a list of
files
I want outside the session into a variable to be looped over but I`ll
probably do it by handcoding each file I ned to be outside the session.

ta again


Colm

-----Original Message-----
From: Aidan Whitehall [mailto:[EMAIL PROTECTED]
Sent: 30 July 2004 14:19
To: [EMAIL PROTECTED]
Subject: RE: [ cf-dev ] session and Application.cfm


> but gets 'redirection limit for this url exceeded etc' using firefox
with
> cookies enabled, why won't the page load, sharing enabled on the
folder as
> well?

Have you stated in your Application.cfm those files that can be served
without being logged in?

<cfif not isDefined("session.Loggedin") and cgi.script_name neq
"ssfrmtry.cfm">
   <cflocation url="ssfrmtry.cfm">
</cfif>

Otherwise, you're going to get stuck in an infinite loop when it's
redirected from ssfrmtry.cfm to ssfrmtry.cfm, ad nauseam.


Regards

--
Aidan Whitehall   [EMAIL PROTECTED]
Macromedia ColdFusion Developer
Fairbanks Environmental   +44 (0)1695 51775

________________________________________________________________________
This e-mail has been scanned for all viruses by Star Internet. The
service is powered by MessageLabs. For more information on a proactive
anti-virus service working around the clock, around the globe, visit:
http://www.star.net.uk
________________________________________________________________________

--
These lists are syncronised with the CFDeveloper forum at
http://forum.cfdeveloper.co.uk/
Archive: http://www.mail-archive.com/dev%40lists.cfdeveloper.co.uk/

CFDeveloper Sponsors and contributors:-
*Hosting and support provided by CFMXhosting.co.uk* :: *ActivePDF provided
by activepdf.com*
      *Forums provided by fusetalk.com* :: *ProWorkFlow provided by
proworkflow.com*
           *Tutorials provided by helmguru.com* :: *Lists hosted by
gradwell.com*

To unsubscribe, e-mail: [EMAIL PROTECTED]



---
avast! Antivirus: Outbound message clean.
Virus Database (VPS): 0431-2, 29/07/2004
Tested on: 30/07/2004 16:01:00
avast! is copyright (c) 2000-2003 ALWIL Software.
http://www.avast.com




-- 
These lists are syncronised with the CFDeveloper forum at 
http://forum.cfdeveloper.co.uk/
Archive: http://www.mail-archive.com/dev%40lists.cfdeveloper.co.uk/
 
CFDeveloper Sponsors and contributors:-
*Hosting and support provided by CFMXhosting.co.uk* :: *ActivePDF provided by 
activepdf.com*
      *Forums provided by fusetalk.com* :: *ProWorkFlow provided by proworkflow.com*
           *Tutorials provided by helmguru.com* :: *Lists hosted by gradwell.com*

To unsubscribe, e-mail: [EMAIL PROTECTED]

Reply via email to