Well, do you have a logout.cfm page?

If so, do something like this.


<cfset temp = StructClear(Session)>

<script language="javascript">
document.location.href="index.cfm">
</script>


Then if they click the back button, it sends them right back to
index.cfm

That way you could also clear your cookies if needed, since your not
using a cflocation

______________________
steve oliver
atnet solutions, inc.
http://www.atnetsolutions.com


-----Original Message-----
From: Nathan Chen [mailto:[EMAIL PROTECTED]] 
Sent: Friday, February 15, 2002 1:50 AM
To: CF-Talk
Subject: Re: simple question - how do you manually time out a session
variable


Steve,
Thanks for the posts. But I tried your codes and still haven't got it to
worked.  If you have time, can you give me a little detail?  My JS level
is
pretty junior.

nathan

----- Original Message -----
From: "Steve Oliver" <[EMAIL PROTECTED]>
To: "CF-Talk" <[EMAIL PROTECTED]>
Sent: Thursday, February 14, 2002 11:43 PM
Subject: RE: simple question - how do you manually time out a session
variable


> >>The only way I can think of is to include something like:
> >>window.history.forward(20);
>
>
> Disregard that, I went looking around and found that IE only supports
> -1, 0, or 1 in the history function.
>
> ______________________
> steve oliver
> atnet solutions, inc.
> http://www.atnetsolutions.com
>
> 

______________________________________________________________________
Get Your Own Dedicated Windows 2000 Server
  PIII 800 / 256 MB RAM / 40 GB HD / 20 GB MO/XFER
  Instant Activation � $99/Month � Free Setup
  http://www.pennyhost.com/redirect.cfm?adcode=coldfusionb
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