MonoX support board

Start the conversation, ask questions and share tips and solutions with fellow developers.

Non-registered users can only browse through our support boards. Please register now if you want to post your questions. It takes a second and it is completely free. Alternatively, you can log in without registration using your credentials at major sites such as Google, Microsoft Live, OpenId, Facebook, LinkedIn or Yahoo.

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

Viewed 12245 time(s), 4 post(s) 10/12/2011 12:58:28 PMby ashutosh0901
ashutosh0901

ashutosh0901

10/13/2011 6:39:33 AM
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.....
This content has not been rated yet. 
353 Reputation 46 Total posts
khorvat

khorvat

10/12/2011 1:26:26 PM
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
This content has not been rated yet. 
15993 Reputation 2214 Total posts
ashutosh0901

ashutosh0901

10/12/2011 2:06:51 PM
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
This content has not been rated yet. 
353 Reputation 46 Total posts
khorvat

khorvat

10/12/2011 2:08:06 PM
Hi,

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

Regards
This content has not been rated yet. 
15993 Reputation 2214 Total posts