Re: Unable to UserAuthenticate (General questions)
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
Damba,
Thank you for the reply. After a night of sleep and a pot of coffee I was able to walk thru the code and find exactly what you described. After I moved my events to the RequestDone sub everything fell right into place. Again, thank you for your reply and for confirming what I believed to be true. I'm sure I will be back with more questions later. [:happy:] (btw, this is DaveFromClenney but I can't remember what password I used for this account, it was a late night indeed.
[:wink:] )
Complete thread:
- Unable to UserAuthenticate - DaveFromClenney, 2009-05-01, 04:52
- Re: Unable to UserAuthenticate - wodDamir, 2009-05-02, 00:04
- Re: Unable to UserAuthenticate - DaveFromClenney1, 2009-05-02, 02:18
- Re: Unable to UserAuthenticate - wodDamir, 2009-05-02, 00:04