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 13828 time(s), 4 post(s) 12.10.2011 12:58:28by ashutosh0901
ashutosh0901

ashutosh0901

13.10.2011 06:39:33
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.....
Dieser Inhalt wurde noch nicht bewertet. 
353 Reputation 46 Total posts
khorvat

khorvat

12.10.2011 13:26:26
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
Dieser Inhalt wurde noch nicht bewertet. 
15993 Reputation 2214 Total posts
ashutosh0901

ashutosh0901

12.10.2011 14:06:51
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
Dieser Inhalt wurde noch nicht bewertet. 
353 Reputation 46 Total posts
khorvat

khorvat

12.10.2011 14:08:06
Hi,

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

Regards
Dieser Inhalt wurde noch nicht bewertet. 
15993 Reputation 2214 Total posts