Re: Unable to UserAuthenticate - WeOnlyDo Discussion board

Re: Unable to UserAuthenticate (General questions)

by wodDamir, Saturday, May 02, 2009, 00:04 (5684 days ago) @ DaveFromClenney

Hi Dave,

Sorry for responding slower, it's holiday here.

If I'm correct when you access your page, you do get login form shown?

However, when you try to login, RequestHeaders event is triggered twice (normal, since user is first rejected since no username/password is provided) which actually re-creates your index.htm file with not authorized page. You can test that by logging in (you get unauthorized), then replace your index.htm with the original and reload the page.

In order to solve this, simply move the RequestHeaders event into RequestDone.

Hope this helps.

Regards,
Damba


Complete thread: