No, I can't use sessions. I need to expire the page using either META tags
or CFHEADER.

-----Original Message-----
From: Hayes, David [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, November 01, 2000 2:10 PM
To: CF-Talk
Subject: RE: CFHEADER


It seems like a combination of our 2 answers should suffice.  Using
<cfheader> with cache-control should result in no copy being stored on the
user's local cache, AND therefore when the user hits the BACK button, a new
browser request should be generated.

That's where the other advice comes in; if the user attempts to access a
page when they are not logged in, you redirect them somewhere with you usual
security.

Make sure when you clear your browser cache when you do your testing.

-----Original Message-----
From: Dylan Bromby [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, November 01, 2000 3:41 PM
To: CF-Talk
Subject: RE: CFHEADER


Unfortunately, this doesn't help. I need to prevent access using the META
tags.

Thank you though.

--Dylan

-----Original Message-----
From: Richard Kern [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, November 01, 2000 1:21 PM
To: CF-Talk
Cc: 'Dylan Bromby'
Subject: RE: CFHEADER


This may be what you are looking for


--------button to logout ------------------
<FORM action="logout_action.cfm" method=post>
        <INPUT type=submit name=Logout1 value=Logout>
</FORM>
--------------logout action form --------------------

<cfset rc = StructDelete(session, "pass", "true")>
<CFIF rc EQ "yes">
You are logged out
</CFIF>
-------------- response with humor after the logout
process------------------
<cfif IsDefined ("Session.pass")>

<CFQUERY NAME=ElapsedTime DATASOURCE="xxxxxxxxxxxxxxxxxxxxxxxx">
SELECT      elapsedtime,userID
FROM         uservariables
WHERE      (pass = '#session.pass#')
</CFQUERY>
<cfelse>
You are no longer logged into the site. <br>
 You must log on to do any more study.<br>
Thanks,<br>
<font color="Navy">CDWMVTSHPUSA</font><br>
<font size="-5" color="Silver">Colorado Division of Web Management for
Virtual Traffic School, High Plains of United States of America</font>
<cfabort>
</cfif>

The result is that the user cannot go back into the site because the
application.cfm and index.cfm pages are checking for the logged in value.  I
also clear the cache through meta entries so that the user has no access
that way.

Richard Kern


-----Original Message-----
From: Dylan Bromby [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, November 01, 2000 2:00 PM
To: CF-Talk
Subject: Re: CFHEADER


This didn't work. Has anyone done this? Again - I want to allow users to
logout. If they then use the BACK feature in their browser, I don't want
them to be able to see the page they logged out from.

--Dylan
----------------------------------------------------------------------------
--------------------
Archives: http://www.mail-archive.com/[email protected]/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists or send a
message with 'unsubscribe' in the body to [EMAIL PROTECTED]

----------------------------------------------------------------------------
--------------------
Archives: http://www.mail-archive.com/[email protected]/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists or send a
message with 'unsubscribe' in the body to [EMAIL PROTECTED]
----------------------------------------------------------------------------
--------------------
Archives: http://www.mail-archive.com/[email protected]/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists or send a
message with 'unsubscribe' in the body to [EMAIL PROTECTED]

------------------------------------------------------------------------------------------------
Archives: http://www.mail-archive.com/[email protected]/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists or send a message 
with 'unsubscribe' in the body to [EMAIL PROTECTED]

Reply via email to