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 (Zatvorena) (Mono Support )

13281 put(a) pogledan, 4 odgovor(a) 12.10.2011. 12:58:28Kreirao(la) ashutosh0901
ashutosh0901

ashutosh0901

13.10.2011. 6: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.....
Ovaj sadržaj još nije ocijenjen. 
353 Reputacija 46 Ukupno objava
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
Ovaj sadržaj još nije ocijenjen. 
15993 Reputacija 2214 Ukupno objava
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
Ovaj sadržaj još nije ocijenjen. 
353 Reputacija 46 Ukupno objava
khorvat

khorvat

12.10.2011. 14:08:06
Hi,

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

Regards
Ovaj sadržaj još nije ocijenjen. 
15993 Reputacija 2214 Ukupno objava