Ask a Question related to ASP.NET Security, Design and Development.
-
rsv #1
Problem in forms authentication
Hi friends,
We have an web application which contains several folders & we are
trying to implement forms authentication.
Login page for the application is residing in root directory.
When I try to access any of aspx page in a subfolder, authentication
is
done properly but it does not redirect user to login page (tries to
find the login.aspx) in the subfolder & gives error as "resource can't
be found"
Code in Web.Config :
<authentication mode="Forms">
<forms name="NeulandCookie" path="/" loginUrl="/login.aspx"
protection="All" timeout="30">
</forms>
</authentication>
can anyone help me for solving this??
Thanks & Regards,
Rasika.
rsv Guest
-
forms authentication problem
I tried on the Security newgroup, as well as other places, and haven't gotten an answer yet - - I'm pulling my hair out over this one. I'm trying... -
Forms Authentication problem with IsAuthenticated
Hello All, I am trying to set up forms authentication for an ASP.NET web site. I programmed quite a bit of stuff with custom IPrincipal and... -
Forms Authentication Problem with WebRequest (Tried Everything)
Hello, all, I have done my homework, but I can not get my webrequest to access a page which is protected by forms authentication. As other... -
Problem with Forms Authentication
I have an application using FormsAuthentication that does not persist the authentication cookie beyond the session so each time a user starts a... -
ssl with <forms authentication> and loginurl problem
Hi, I've configured SSL with server certificates on a IIS with W2K. Itested it ans works with simple html pages. I want the login page to be under... -
Daniel Fisher\(lennybacon\) #2
Re: Problem in forms authentication
funny? hmm, "login.aspx" is default - try to use:
<authentication mode="Forms">
<forms name="NeulandCookie" path="/"
protection="All" timeout="30">
</forms>
</authentication>
--
Daniel Fisher(lennybacon)
MCP ASP.NET C#
Blog: [url]http://www.lennybacon.com/[/url]
"rsv" <rasika@tatatechnologies.com> wrote in message
news:ed63541c.0501170018.28b4cda7@posting.google.c om...> Hi friends,
>
> We have an web application which contains several folders & we are
> trying to implement forms authentication.
>
> Login page for the application is residing in root directory.
> When I try to access any of aspx page in a subfolder, authentication
> is
> done properly but it does not redirect user to login page (tries to
> find the login.aspx) in the subfolder & gives error as "resource can't
> be found"
>
> Code in Web.Config :
> <authentication mode="Forms">
> <forms name="NeulandCookie" path="/" loginUrl="/login.aspx"
> protection="All" timeout="30">
> </forms>
> </authentication>
>
> can anyone help me for solving this??
>
> Thanks & Regards,
> Rasika.
Daniel Fisher\(lennybacon\) Guest
-
rsv #3
Problem in Forms Authentication
Hi Daniel,
Thank u very much for ur reply... but that doesn't work either.
My login page's name is "login.aspx" & thats why i hv specified the
same in loginurl.
What else can be the problem? I m still getting same error.
Thanks & Regards,
Rasika.
rsv Guest
-
Daniel Fisher\(lennybacon\) #4
Re: Problem in Forms Authentication
Hi Rasika
Hmm, I don't know what the problem is but what you can do to get things done
is: use url redirection (HttpModule) and catch all "login.aspx" filse and
send them to "/signin.aspx" for example. But i'm pretty sure that there is
some male configuration somewhere on ya server.
Hope that helps
Cheers
Daniel
--
Daniel Fisher(lennybacon)
MCP ASP.NET C#
Blog: [url]http://www.lennybacon.com/[/url]
"rsv" <rasika@tatatechnologies.com> wrote in message
news:ed63541c.0501180018.265cd253@posting.google.c om...> Hi Daniel,
>
> Thank u very much for ur reply... but that doesn't work either.
> My login page's name is "login.aspx" & thats why i hv specified the
> same in loginurl.
> What else can be the problem? I m still getting same error.
>
> Thanks & Regards,
> Rasika.
Daniel Fisher\(lennybacon\) Guest
-
rsv #5
Problem in Forms Authentication
where shall i check for such mal configurations on my server??
rsv Guest



Reply With Quote

