You might think about using a CFLOCATION instead to redirect to an
unauthorized page that will have a full set of HTML. Using CFABORT in the
middle of the page like that will cause the closing tags to get cut off and
some browsers will freak out and not even display the message at all.
As for
You could always put in the necessary closing tags before the CFABORT...
-Original Message-
From: Justin Scott [SMTP:[EMAIL PROTECTED]]
Sent: 23 May 2002 16:16
To: CF-Talk
Subject: Re: page security using cfabort
You might think about using a CFLOCATION instead to redirect
right, i was just thinking that...
-Original Message-
From: Paul Bowley [mailto:[EMAIL PROTECTED]]
Sent: Thursday, May 23, 2002 11:24 AM
To: CF-Talk
Subject: RE: page security using cfabort
You could always put in the necessary closing tags before the CFABORT...
-Original Message
/.
-Original Message-
From: Justin Scott [mailto:[EMAIL PROTECTED]]
Sent: 23 May 2002 16:16
To: CF-Talk
Subject: Re: page security using cfabort
You might think about using a CFLOCATION instead to redirect to an
unauthorized page that will have a full set of HTML. Using CFABORT in
the
middle
I use cflocation and a session var. I also do this in a custom tag, so that I can
better re-use code.
The implementation at the top of the page looks like:
cfmodule template=../../Tags/Security.cfm SecurityAccessCode=AdminNR
If they don't meet thre requirement (based on a session var list of
Also, but the underscore in the variable user_role?
What's wrong with the underscore?
Dave Watts, CTO, Fig Leaf Software
http://www.figleaf.com/
voice: (202) 797-5496
fax: (202) 797-5444
__
Get the mailserver that powers this
Neil,
is this a coding style thing, or are you implying it's going to break the
code?
v/r, Jeff
-Original Message-
From: Dave Watts [mailto:[EMAIL PROTECTED]]
Sent: Thursday, May 23, 2002 11:31 AM
To: CF-Talk
Subject: RE: page security using cfabort
Also, but the underscore
You could always put in the necessary closing tags before the CFABORT...
The main drawback to doing this approach is that it leads to cluttered code,
especially if there is complex HTML code contained in your page footer.
Also, consider a situation where there needs to be more than one security
PROTECTED]]
Sent: Thursday, May 23, 2002 11:37 AM
To: CF-Talk
Subject: Re: page security using cfabort
You could always put in the necessary closing tags before the CFABORT...
The main drawback to doing this approach is that it leads to cluttered code,
especially if there is complex HTML code
Bowley [EMAIL PROTECTED]
To: CF-Talk [EMAIL PROTECTED]
Sent: Thursday, May 23, 2002 11:23 AM
Subject: RE: page security using cfabort
You could always put in the necessary closing tags before the CFABORT...
-Original Message-
From: Justin Scott [SMTP:[EMAIL PROTECTED]]
Sent: 23
Personally I stay away from session variables, preferring client variables
for stability reasons and you dont have to write additional logic to take
care of session timeouts, but your solution looks fine to me.
One solution to the cfabort problem is to put your html footer in an include
and do a
11 matches
Mail list logo