Date:  09/12/2005 01:56:40 PM Msg ID:  002705
From:  FoxWeb Support Thread:  002704
Subject:  Re: foxweb authentication
The reason that you are seeing the original page even after you log off, is because the browser cached it when it was first requested.  If an unexpired page is in the browser's cache, then the browser does not make a new request to the server, but rather displays the same content that it received earlier.
 
There are ways to get around this, such as the use of Response.Expires (as well as other HTTP headers), but these techniques can cause other problems, such as the inability to use the back button without re-submitting a previously-submitted request.
 
You can close windows with JavaScript code, but unless you are closing a window that was originally opened via JavaScript, you will get a confirmation message letting you know that the page is trying to close the current window and asking if you want to go ahead with this.

FoxWeb Support Team
support@foxweb.com email

Sent by sven on 09/12/2005 01:20:37 PM:

Hello all,

I have been testing Foxweb for a little while now and it occurs to me that this is a very stable product.

 

However, there are still some questions that need to be answered before I can finish the evaluation fase and go on to the next phase, that is, buying a license.

 

I have created a login page and a logout page.

I do not use the auth object, because its' working seems to depend on the fact that cookies should be allowed on the client computer (and may not be allowed).

 

So I developed my own login/authentication module, thereby completely skipping the included Foxweb Auth object.

I have also developed my own logout object .

So far, everything works as expected. But I do have several (little) problems :

1- why, if I manually enter an address in the URL bar, pointing to a page in the site I just logged off from, will the contents of that page be shown again ? How can I avoid this and immediately redirect the user to the login page ?

2- If I close Internet Explorer (or any other browser), and re-type the same URL, the foxweb error script will execute and show cryptic error messages

So, actually, the logout works, but why not in the same Internet Explorer window I recently logged off from ?

 

Is there a way to have the current browser window closed automatically ?

 

Thanks in advance,