Your sessionId variable is only applicable in the scope of that try/catch block because that's where you declared it. - Jackie -- View this message in context: http://osgeo-org.1803224.n2.nabble.com/MGOS-2-2-Beta-with-net-Problems-tp5797915p5798243.html Sent from the MapGuide Users mailing list archive at Nabble.com.