An ASP.NET Blog

by: Muhammad Akhtar Shiekh

My article published on codeproject.com & dotnetslackers.com

Last month my article "Windows Authentication Using Form Authentication" was published on codeproject.com and dotnetslakers.com.

Here are the links of the article

http://www.codeproject.com/KB/aspnet/WinAuthusingFormAuth.aspx

http://dotnetslackers.com/articles/aspnet/Windows-Authentication-using-Form-Authentication.aspx

I am also writing some more articles for these websites, hopefully they will be publish in this month ( If i will complete them on time :) ).

Posted: Aug 17 2009, 12:39 PM by akhhttar | with 2 comment(s) |
Filed under: , ,

Comments

Ranjeet said:

How to manage session of user, if i am not using aspnetdb database and its membeship tables.

( Means without login control and membership class )

How can i maintain security triming.

# August 18, 2009 2:29 PM

akhhttar said:

How to manage session?

session is maintain for every visitor of your website, it doesn't metter that user is authenticated or not. You can manage Session using Session object e.g Session["key"]= objValue;

How can i maintain security trimings?

Dod you wanna ask how to authenticate user if you are not usign asp.net membership provider? if yes then, you can authenticate user with your custom code( as i did in my article) and after sucessfully atuhentication you can genrate authentication token using FormsAuthentication.RedirectFromLoginPage() Or FormsAuthentication.SetAuthCookie(), Please see the artcile for more detail.

Thanks

-Akhtar

# August 19, 2009 2:33 AM