I don't understand what you mean by flushing Session History since it is 
maintained only in memory cache. Please take a look at 
http://lxr.mozilla.org/seamonkey/source/xpfe/components/shistory/public/nsISHistory.idl,
 
nsISHistoryListener, nsISHTransaction and nsISHEntry.

In Netscape 6 or mozilla environment, all these interfaces are available 
thro' XPCOM and Javascript.A handle to SH can be obtained from the 
content docshell, thro' nsIWebNavigation interface. In a embedding 
environment, nsISHistoryListener is the only exposed interface. 
nsISHistoryListener is under development and is not complete.

Doug Turner wrote:

> Radha,
> Is there an public interface for this?
> 
> -------- Original Message --------
>      Subject: flushing the session history
>         Date: 13 Feb 2001 18:13:46 GMT
>         From: [EMAIL PROTECTED] (MATTHEWS,HEATHER ,
>               HP-Vancouver,ex1)
> Organization: Another Netscape Collabra Server User
>           To: "'[EMAIL PROTECTED]'"
>               <[EMAIL PROTECTED]>
>   Newsgroups: netscape.public.mozilla.layout
> 
>  Is there a simple way to flush the session history either from XPCOM
> code or Javascript? Thanks for any help.


Reply via email to