Click here to Skip to main content
15,921,793 members
Home / Discussions / ASP.NET
   

ASP.NET

 
AnswerRe: Design question Pin
Keith Barrow21-Sep-06 13:28
professionalKeith Barrow21-Sep-06 13:28 
AnswerRe: Design question Pin
M LN Rao21-Sep-06 19:41
M LN Rao21-Sep-06 19:41 
Questionhelp needed + web services Pin
Naveed Kamboh21-Sep-06 6:45
Naveed Kamboh21-Sep-06 6:45 
AnswerRe: help needed + web services Pin
Stephan Pilz21-Sep-06 21:00
Stephan Pilz21-Sep-06 21:00 
QuestionGridview sorting Pin
#realJSOP21-Sep-06 6:32
professional#realJSOP21-Sep-06 6:32 
AnswerRe: Gridview sorting Pin
Naveed Kamboh21-Sep-06 6:49
Naveed Kamboh21-Sep-06 6:49 
AnswerRe: Gridview sorting Pin
Member 9621-Sep-06 10:53
Member 9621-Sep-06 10:53 
Questionredirect problem in form authentication Pin
homersim21-Sep-06 4:55
homersim21-Sep-06 4:55 
I developed a site with a reserved section based on roles, when I try to access that page i got redirected correctly to the loginpage and on the address bar i see
the ReturnUrl containig the address to point to:

http://localhost/SiteName/login.aspx?ReturnUrl=%2fSiteName%
2fadministrator%2fdefault.aspx

administrator/default.aspx is the page I have to reach
I authenticate succesfully but when the following instruction executes without error:
FormsAuthentication.RedirectFromLoginPage(user, chkRemember.Checked)
i still remain in the same page, only user and pwd disappear

the address in the bar is still the same....

otherwise if i submit incorrect user o pwd I got an error that indicates the redirect correctly fails:
If AuthenticateUser(userEncoded, pwdEncoded, roles) Then
FormsAuthentication.RedirectFromLoginPage("@" & ruoli, chkRemember.Checked)

Else
lblLogin.Text = "Access denied!"
End If


Any idea?

Thanks
Alessandro

AnswerRe: redirect problem in form authentication Pin
minhpc_bk21-Sep-06 20:55
minhpc_bk21-Sep-06 20:55 
Questionusername in a domain to show in textbox? Pin
zarkan21-Sep-06 4:40
zarkan21-Sep-06 4:40 
AnswerRe: username in a domain to show in textbox? Pin
Kschuler21-Sep-06 6:38
Kschuler21-Sep-06 6:38 
QuestionRegarding the Session Pin
tmiku21-Sep-06 3:33
tmiku21-Sep-06 3:33 
AnswerRe: Regarding the Session Pin
Not Active21-Sep-06 3:53
mentorNot Active21-Sep-06 3:53 
AnswerRe: Regarding the Session Pin
Sathesh Sakthivel21-Sep-06 4:17
Sathesh Sakthivel21-Sep-06 4:17 
AnswerRe: Regarding the Session Pin
Kschuler21-Sep-06 6:43
Kschuler21-Sep-06 6:43 
AnswerRe: Regarding the Session Pin
Britney S. Morales21-Sep-06 6:43
Britney S. Morales21-Sep-06 6:43 
QuestionRegarding the Session(urgent) Pin
tmiku21-Sep-06 3:33
tmiku21-Sep-06 3:33 
QuestionCreateUserWizard Pin
cisco210321-Sep-06 3:05
cisco210321-Sep-06 3:05 
AnswerRe: CreateUserWizard Pin
minhpc_bk21-Sep-06 20:56
minhpc_bk21-Sep-06 20:56 
QuestionHow to add rows dynamically in datagrid Pin
Ph@ntom21-Sep-06 3:04
Ph@ntom21-Sep-06 3:04 
AnswerRe: How to add rows dynamically in datagrid Pin
_AK_21-Sep-06 18:24
_AK_21-Sep-06 18:24 
QuestionDataList problem Pin
papa8021-Sep-06 2:53
papa8021-Sep-06 2:53 
QuestionValidation on Telephone No. in javascript Pin
Suresh Pirsquare21-Sep-06 1:37
Suresh Pirsquare21-Sep-06 1:37 
AnswerRe: Validation on Telephone No. in javascript Pin
Vicky Roberts21-Sep-06 2:30
Vicky Roberts21-Sep-06 2:30 
GeneralRe: Validation on Telephone No. in javascript Pin
Suresh Pirsquare21-Sep-06 2:33
Suresh Pirsquare21-Sep-06 2:33 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.