i am new to asp.net can any one tell me the code for the login /logout in my sample project and how to attin logout in the all pages please dont mistake me as i am learning ( fresher) the asp.net 2005
View Complete Post
I have a login page I have added the two text boxes button and label for error message to log in I want the code for the log should note that the code to verify that the username and password is correct should also make sure that the user has not logged into by and thank you
apologies as i am new to the Entity Framework
i have a web-site which uses forms based authentication. thus i have a login page with a login control on it. how would i go about coding the authenticate event of this control to talk to the Entity Framework to validate the user credentials?
any help or sample code (preferably in VB) gratefully appreciated
I receive this error when running the application. It is the LogOutPageUrl from the login/logout control. I have substituted several different destination pages, which all work in any other part of the application. However still get this error? Can someone tell me what may be causing this, or why none of the other pages I have used will work either?
Description: HTTP 404. The resource you are looking for (or one of its dependencies) could have been removed, had its name changed, or is temporarily unavailable. Please review the following URL and make sure that it is spelled correctly.
In logout link's click event i have written Session.Abandon() that will destroy the Session state.I am also handling Session_End event that is fired afterward (written in Global.asax). But one more thing i want is that after Session ends, login page should be redirected (opened).
For that i wrote:
Protected Sub logOut_Click(ByVal sender As Object, ByVal e As System.EventArgs) Handles logOut.Click
This is working fine on the surface, but after applying debugging i saw that there were unexpected number of calls to Session_Start and Session_End events for two times, then login page was opened.
Why Session_Start and Session_End was called two times ? If i left this process as it is working then may i get some serious error in future ?
- Can we configure SQL Server login integrated using Dynamic Code (TOKEN) ?
As far i know , we can use Dynamic code / Token with Login Windows, but i dont know about Token/Dynamic Code with SQL Server login.
- and can we block SSMS Remote connection, so we cannot connect using SSMS /Query analyzer to the server. The only way is local connection.
thanks in advance
Our Environments :
-SQL Server 2K8EE integrated with LUna HSM & RSA
-Win Server 2k8EE