Mono Support By the Login Page ...Its urgent please reply soon (Closed)

Viewed 13645 time(s), 4 post(s), 10/12/2011 12:58:28 PM - by ashutosh0901
10/13/2011 6:39:33 AM
353 Reputation 46 Total posts

i have created a page which carry username and password in a session variable from my page to your login page , now i want that your login page should take the my session value without asking for the credentials and redirect to the page which comes after we login to your login page.....

1
10/12/2011 1:26:26 PM
15993 Reputation 2214 Total posts

Hi,

is this a duplicate post or there is a difference - http://www.mono-software.com/Mono/Pages/Discussion/dtopic/CNqzSsbWMEC39J96AOpcxw/By-Pass-the-User-Authentication-on-Web-Page/

Regards

2
10/12/2011 2:06:51 PM
353 Reputation 46 Total posts

Membership.ValidateUser(username, password);
FormsAuthentication.SetAuthCookie(username, true);
ctlLogin.RedirectAfterLogin();

i used these codes on login.aspx page , now when i run the application it is always loggin as administrator even if the person is having user roleid

3
10/12/2011 2:08:06 PM
15993 Reputation 2214 Total posts

Hi,

Ivan will help you in other topic, I'm closing this duplicate.

Regards

4
This is a demo site for MonoX. Please visit Mono Software for more info.