sixteamparlay
IS-IT--Management
Line 76-78:
If Session("PalletID") = Nothing Then
Session("PalletID") = 0
End If
I tried "If Session("PalletID") IS Nothing" and still get the error "Object_required". I am checking to see if Session Variable PalletID was established, if it wasn't set it to 0
IIS ERROR LOG:
2009-03-18 13:32:08 172.16.1.250 GET /HiLo/PutAwayLocationSelectX.asp |76|800a01a8|Object_required 1 - 172.16.4.178 Mozilla/4.0+(compatible;+MSIE+7.0;+Windows+NT+6.0;+SLCC1;+.NET+CLR+2.0.50727;+.NET+CLR+3.0.04506;+.NET+CLR+3.5.21022;+.NET+CLR+1.1.4322) 500 0 0 187
Does anyone have code to check for a non-existant session variable? In .NET 1.1 Session("PalletID") = NULL was good enough, in .NET 2.0 it crashes
If Session("PalletID") = Nothing Then
Session("PalletID") = 0
End If
I tried "If Session("PalletID") IS Nothing" and still get the error "Object_required". I am checking to see if Session Variable PalletID was established, if it wasn't set it to 0
IIS ERROR LOG:
2009-03-18 13:32:08 172.16.1.250 GET /HiLo/PutAwayLocationSelectX.asp |76|800a01a8|Object_required 1 - 172.16.4.178 Mozilla/4.0+(compatible;+MSIE+7.0;+Windows+NT+6.0;+SLCC1;+.NET+CLR+2.0.50727;+.NET+CLR+3.0.04506;+.NET+CLR+3.5.21022;+.NET+CLR+1.1.4322) 500 0 0 187
Does anyone have code to check for a non-existant session variable? In .NET 1.1 Session("PalletID") = NULL was good enough, in .NET 2.0 it crashes