Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > ASP .Net > Problem with my forms authentication

Reply
Thread Tools

Problem with my forms authentication

 
 
csharper
Guest
Posts: n/a
 
      09-01-2010
In my asp.net mvc application, I am using forms authentication with my
custom membership provider.

One a user enters the wrong user name / password, an error message is
shown on the Login page.

But, when a user enters the correct user name / password, no error
message is displayed the Login page refreshes and stays there, the
user doesn't get redirected to view page1 as I have

return Redirect(returnUrl);

in the login action of controller.

Actually, even the debugger doesn't go to my action method where I
have break points. I am using vs2010 on windows vista enterprise
(64bit).

I know this might be too little information to tell, but if I have to
type up in great details, people think it is too much to read.

What would you guess that is causing the debugger not going into my
break points of the Login action method? It does go to other break
points.
 
Reply With Quote
 
 
 
 
Mike
Guest
Posts: n/a
 
      09-02-2010
Hi,

We'll need more info.
Could you give us the declaration of your login control in your web page,
the authentication and authorization (if possible) of your web.config file
and the name of the method where you have put return Redirect(returnUrl)

Mike
http://www.homemadepride.com



"csharper" <> a écrit dans le message de
news:edc05d21-fd2b-47fd-bd8d-...
> In my asp.net mvc application, I am using forms authentication with my
> custom membership provider.
>
> One a user enters the wrong user name / password, an error message is
> shown on the Login page.
>
> But, when a user enters the correct user name / password, no error
> message is displayed the Login page refreshes and stays there, the
> user doesn't get redirected to view page1 as I have
>
> return Redirect(returnUrl);
>
> in the login action of controller.
>
> Actually, even the debugger doesn't go to my action method where I
> have break points. I am using vs2010 on windows vista enterprise
> (64bit).
>
> I know this might be too little information to tell, but if I have to
> type up in great details, people think it is too much to read.
>
> What would you guess that is causing the debugger not going into my
> break points of the Login action method? It does go to other break
> points.


 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Best practices for using forms authentication and security in a hosted env (was: Re: Using a Forms authentication in a shared hosting environment) JEFF ASP .Net 1 11-12-2007 07:00 PM
forms authentication -- expired forms cookie vs. not provided forms cookie Eric ASP .Net Security 2 01-27-2006 10:09 PM
Forms authentication - Multiple login forms based on directory acc Keltex ASP .Net Security 1 01-24-2006 03:06 PM
Forms Authentication question: How to have some pages open and some requiring forms authentication Eric ASP .Net 2 02-13-2004 02:14 PM
Forms Authentication, external authentication server, & rerouting to orig. req. URL Andrew Connell ASP .Net 1 10-21-2003 05:41 PM



Advertisments