Web Login and logout

Hi,

We have a database with no access for Anonymous. When the db is open the user has to login. We have a page with a link for change the user logged with this code:

the first time a user clicks on the link it works, but if he clicks again on the link the Principal page is open without prompt him to login.

¿Why does it work only the first time?

Thanks in advance.

Subject: Web Login and logout

the user must still be logged in ?

Subject: Web Login and logout

I am also facing the same problem??? did you get any solution?

Is this because of Session based authentication?

Subject: RE: Web Login and logout

I got it resolved today… it requires the session authentication enabled on server.