forms Authentication
-
Hi, Forms authentication not working in my system..... Same code working in others system..... Send me some solution Regards Jayabharathi
-
Hi, Forms authentication not working in my system..... Same code working in others system..... Send me some solution Regards Jayabharathi
rjayaabharathi@gmail.com wrote:
Forms authentication not working in my system..... Same code working in others system.....
Do you expect that we have to guess that what is not working in your system, what error you are getting or What is working on other system ? Please be specific while asking any question so that we can help you out. Thanks !
Abhijit Jana | Codeproject MVP Web Site : abhijitjana.net Don't forget to click "Good Answer" on the post(s) that helped you.
-
rjayaabharathi@gmail.com wrote:
Forms authentication not working in my system..... Same code working in others system.....
Do you expect that we have to guess that what is not working in your system, what error you are getting or What is working on other system ? Please be specific while asking any question so that we can help you out. Thanks !
Abhijit Jana | Codeproject MVP Web Site : abhijitjana.net Don't forget to click "Good Answer" on the post(s) that helped you.
hi not throwing any exception.... but always returning User.Identity.IsAuthenticated = false
-
hi not throwing any exception.... but always returning User.Identity.IsAuthenticated = false
-
hi not throwing any exception.... but always returning User.Identity.IsAuthenticated = false
rjayaabharathi@gmail.com wrote:
but always returning User.Identity.IsAuthenticated = false
:) Does your application hosted on IIS? What authentication mode are you using on IIS ?
Abhijit Jana | Codeproject MVP Web Site : abhijitjana.net Don't forget to click "Good Answer" on the post(s) that helped you.
-
rjayaabharathi@gmail.com wrote:
but always returning User.Identity.IsAuthenticated = false
:) Does your application hosted on IIS? What authentication mode are you using on IIS ?
Abhijit Jana | Codeproject MVP Web Site : abhijitjana.net Don't forget to click "Good Answer" on the post(s) that helped you.
-
LOl I am Not answering This..!
LatestArticle :Log4Net Why Do Some People Forget To Mark as Answer .If It Helps.
sashidhar wrote:
LOl I am Not answering This..!
:laugh: I got your point !!! ;)
Abhijit Jana | Codeproject MVP Web Site : abhijitjana.net Don't forget to click "Good Answer" on the post(s) that helped you.
-
sashidhar wrote:
LOl I am Not answering This..!
:laugh: I got your point !!! ;)
Abhijit Jana | Codeproject MVP Web Site : abhijitjana.net Don't forget to click "Good Answer" on the post(s) that helped you.
-
Try like this
Page.User.Identity.IsAuthenticated
or
HttpContext.Current.User.Identity.IsAuthenticated
if the same problem comes let me know..!
LatestArticle :Log4Net Why Do Some People Forget To Mark as Answer .If It Helps.
Same problem
-
rjayaabharathi@gmail.com wrote:
but always returning User.Identity.IsAuthenticated = false
:) Does your application hosted on IIS? What authentication mode are you using on IIS ?
Abhijit Jana | Codeproject MVP Web Site : abhijitjana.net Don't forget to click "Good Answer" on the post(s) that helped you.
i'm using froms authentication
-
Same problem
-
Where r u writing the above code..!Can You show the sample code..! and the other thing wat abt the IsApproved Status ..!Is it false or True by default..!
LatestArticle :Log4Net Why Do Some People Forget To Mark as Answer .If It Helps.
in page load, If User.Identity.IsAuthenticated = True And User.Identity.Name = HttpContext.Current.Session("username") Then Else Response.Redirect("..\index.aspx") End If