I have found a cool way of logging out a user after session expiration, hope this helps.
Test time = 1min
In the webconfig file set sessionState timeout to desired time in minutes
<system.web>
...
...
<sessionState timeout="1" />
</system.web>
Using Masterpages, place this Meta tag in the head section. Time is in seconds
<meta http-equiv="refresh" content="60; ">
In Page_Load event of Master page, insert
If Session("UserName") Is Nothing Then
Response.Redirect("~/Login.aspx")
End If