How to Kill A Session or Session ID (ASP.NET/C#)

The Abandon method should work (MSDN): Session.Abandon(); If you want to remove a specific item from the session use (MSDN): Session.Remove(“YourItem”); EDIT: If you just want to clear a value you can do: Session[“YourItem”] = null; If you want to clear all keys do: Session.Clear(); If none of these are working for you then something … Read more

No Entity Data Model (EDMX) Template with Visual Studio 2010 SP1 & ADO.NET Entity Framework 4.1

Open the install media for VS2010 and browse to “:\WCU\EFTools”. Her you will find two files: ADONETEntityFrameworkTools_enu.msi ADONETEntityFrameworkTools_enu.cab Copy those files to a folder on your PC. Create a log file in the folder – for instance with the name “Log.txt” Open a cmd prompt (possibly run the cmd prompt as administrator) and navigate to … Read more

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)