To end user session and disable user from using a back button to go back to secure page, you need two pages i simply named killsession.aspx and logout.aspx. I will explain both pages with code behind and markup code. killsession.aspx killsession.aspx (markup code) < !DOCTYPE html PUBLIC “-//W3C//DTD XHTML 1.0 Transitional//EN” “http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd”> <html xmlns=”http://www.w3.org/1999/xhtml”> <head […]
Author Archive
VB.NET – passing string value from code behind to markup on the page
Solution 1 Protected doit As String = “Hello” (in .vb file) < %=Me.doit%> (inside the markup) Solution 2 ‘automatic properties Protected Property doit2 As String = “Hello” (in .vb file) < %=doit2%> (inside the markup) ‘no automatic properties Private _doit3 As String (in .vb file) Protected Property doit3 As String Get Return _doit3 End Get […]
Error – The ‘Microsoft.ACE.OLEDB.12.0’ provider is not registered on the local machine.
Applies to: Microsoft Access Database Engine 2010 Redistributable This download will install a set of components that can be used to facilitate transfer of data between 2010 Microsoft Office System files and non-Microsoft Office applications. Overview This download will install a set of components that facilitate the transfer of data between existing Microsoft Office files […]