Ask a Question related to ASP.NET General, Design and Development.
-
Salim Afþar #1
Session with Forms authentication
Hi,
I use Forms Authentication type in my project.When I start my app. in the
browser it works well.First it redirects the login page and after I enter
the password it redirects my administration page(again it's OK).I get the
user details and add to Session object in login page and I get the details
in administration page from Session object:
string sUserType=Session["UserType"].ToString();
But if I try the same processes second time it displays an error like this:
System.NullReferenceException: Object reference not set to an instance of an
object.
string sUserType=Session["UserType"].ToString();
Any help will appreciated kindly.
Thanks a lot.
Salim
Salim Afþar Guest
-
Please help: Forms authentication & new session -> does not return to the specified page after login
If the user is not logged in and no session is present for the user when requesting a specific page it seems that the returnurl querystring... -
Forms Authentication | session ends | asp.net recycle
Hi Guys I was wondering if you can help me out with the following problem. I created a basic secure | non secure website. So I have the root... -
I want Forms Authentication only during session
Hello out there, I am building an ASP.NET app that uses Forms authentication (as that seems the simplest way to do it). It works fine "out of the... -
User Session issue with ASP.NET Forms authentication & Windows 2003
Hi, I first posted this query in just the aspnet ng but didn't get a reply so I'm posting here (probably more appropriate) Hope one of you guys... -
Forms Authentication with Session State
Hey All. Currently, I have a login page that creates an encrypted Authentication Cookie (using FormsAuthenticationTicket). This happens after...



Reply With Quote

