<script language="javascript">
        <!-- 
                window.close();
        //-->
</script>

This should work... put it on the page the user goes to after logging out.
:^)

Or, try, this, and replace session.varname with the one used in your
structure.

<cfparam name="session.varname" default="">
<cfif len(session.varname) eq 0>
        <cflocation template="pag_no_login.cfm">
</cfif>

Mike

-----Original Message-----
From: Tangorre, Michael T. [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, December 05, 2001 4:12 PM
To: CF-Talk
Subject: CF and cached pages


I have a problem here, I cannot resolve it.
My issue is as follows:
I have someone login, if successful, I set a session variable.
When they log out, I delete that variable from the session structure and
send them back to the login page... However, if they hit back on the
broweser, they can get into the page they logged out from, which I don't
want to happen.

I tried using no cache in the meta tag, using cflocation when I send them to
the login page after loggin out.. I check for the variabel before the page
loads... Nothing works...

Any ideas?

Michael T. Tangorre

============================
Resident Assistant - Brick
Web Applications Developer
A.U. Webteam Slave  :-)
AIM: CrazyFlash4

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Structure your ColdFusion code with Fusebox. Get the official book at 
http://www.fusionauthority.com/bkinfo.cfm
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Archives: http://www.mail-archive.com/[email protected]/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists

Reply via email to