Saturday, March 31, 2012

strange authentication problem...

hi there,
i've got a website i created, that i've put onto my test server on the web.
I have a login page, that when the user comes to it, it first pops up a
windows authentication dialog box, and i dont know why? i click cancel on it
and the page still works as normal.
How can i remove this, and why is it appearing?
i am also not using any .NET authentication methods or anything..
thanks,you can set authentication mode in Web.config file
<authentication mode="Forms">
<forms name="login" loginUrl="login.aspx" protection="All" />
</authentication>
"Paul M" <milsnips@.hotmail.com> д?
news:Oux4bs8HEHA.3200@.TK2MSFTNGP10.phx.gbl...
> hi there,
> i've got a website i created, that i've put onto my test server on the
web.
> I have a login page, that when the user comes to it, it first pops up a
> windows authentication dialog box, and i dont know why? i click cancel on
it
> and the page still works as normal.
> How can i remove this, and why is it appearing?
> i am also not using any .NET authentication methods or anything..
> thanks,
>
thanks, but this isnt exactly what i am after..
What the problem is that i already have a login page which all works
fine...however i have 3 pages in my web app, that whenever i go to their
URL, they always popup the windows authentication window, when it shouldnt
appear..i have no authentication code for these pages, nor do i want any.
web.config is also set to <authentication mode="None" /> but still no luck.
Paull
"lzh" <lzh@.hotmail.com> wrote in message
news:uy1G0C9HEHA.2300@.tk2msftngp13.phx.gbl...
> you can set authentication mode in Web.config file
> <authentication mode="Forms">
> <forms name="login" loginUrl="login.aspx" protection="All" />
> </authentication>
> "Paul M" <milsnips@.hotmail.com> д?
> news:Oux4bs8HEHA.3200@.TK2MSFTNGP10.phx.gbl...
> web.
on
> it
>
it's really a trouble,i have no ideas about that.
if you have set authentication mode="None", it's will work
try again
<authentication mode="None">
<allow users="?"/>
</authentication>
"Paul M" <milsnips@.hotmail.com> д?
:uLl5APAIEHA.828@.TK2MSFTNGP12.phx.gbl...
> thanks, but this isnt exactly what i am after..
> What the problem is that i already have a login page which all works
> fine...however i have 3 pages in my web app, that whenever i go to their
> URL, they always popup the windows authentication window, when it shouldnt
> appear..i have no authentication code for these pages, nor do i want any.
> web.config is also set to <authentication mode="None" /> but still no
luck.
> Paull
> "lzh" <lzh@.hotmail.com> wrote in message
> news:uy1G0C9HEHA.2300@.tk2msftngp13.phx.gbl...
<allow roles="Admins"/>
a
> on
>

0 comments:

Post a Comment