Re: Forms Authentication to specific folders

From: Michael Tissington (michael_at_nospam.com)
Date: 01/20/04


Date: Tue, 20 Jan 2004 08:12:01 -0800

Luke,

Strange, very strange this is what I have .... both exe and pdf have the
same problem .... after logon the page does not get redirected.

In the same session, if I then try to go to another page that requires
logon, I go straight to it and am not prompted to logon again - which is
what I would expect. However if I go to the link for the exe or pdf, I'm
still prompted to logon.

-- 
Michael Tissington
http://www.oaklodge.com
http://www.tabtag.com
"MSFT" <lukezhan@online.microsoft.com> wrote in message
news:E9SzCgz3DHA.1992@cpmsftngxa07.phx.gbl...
> Hi Michael,
>
> How did you code in the Login page? Generally, we only need one line
simple
> code after authentication like:
>
>   FormsAuthentication.RedirectFromLoginPage("", False)
>
> and there is no any special in the web.config:
>
> <authentication mode="Forms">
>    <forms name=".ASPXFORMSDEMO" loginUrl="logon.aspx"
>    protection="All" path="/" timeout="30" />
> </authentication>
>
> <authorization>
>    <deny users ="?" />
>    <allow users = "*" />
> </authorization>
>
> Luke
> Microsoft Online Support
>
> Get Secure! www.microsoft.com/security
> (This posting is provided "AS IS", with no warranties, and confers no
> rights.)
>


Relevant Pages

  • Re: Raising DFL
    ... this is no rocker science and it is strange it is still not working. ... the administrator is always able to logon into a DC. ... * This posting is provided "AS IS" with no warranties and confers no rights! ... the roles were seized on the lab network. ...
    (microsoft.public.windows.server.active_directory)
  • Possible XP Bug
    ... I ran into a strange issue this morning that I suspect might be related to ... I installed SP2 a last Friday and had no problems ... When I went to logon this morning my computer rebooted within a couple ... I was finally able to get back up and running by restoring to a previous ...
    (microsoft.public.windowsxp.general)
  • Re: some users take a huge time to logon
    ... > another strange thing ... > when I change the logon name it works fine ... Peter <X-Files Fan> ...
    (microsoft.public.windows.server.active_directory)
  • Re: Well done Plumbert!
    ... Still strange why admins could logon. ... *inserts an entry into his little black book of micro$oft dirty tricks* ...
    (uk.rec.motorcycles)
  • Re: Forms Authentication to specific folders
    ... Including the page you request to an exe ... the logon page (HTML and code behind) and the web.config. ...
    (microsoft.public.dotnet.framework.aspnet.security)

Quantcast