Remember that sessions persist across page refreshes - if you want to test this is working properly, stick:
before it all, and that will clear any previous runs.
Try this:
Code:
strTemp = Request.Form("KeyCode")
Session("TF4") = strTemp
If Not IsNull(Session("TF4")) And Session("TF4") <> "" Then
'Session TF4 has a value
Session("TF5") = Session("TF4")
Else
'Session TF4 had no value
End If
Hope this helps but I get the impression you're trying to do something the wrong way lol