{
lock (this)
{
+ output.writeBoolean(_needSessionPersistence);
if (!_needSessionPersistence)
{
return;
else
bw.Write(3);
bw.Write(_isReadonly);
- bw.Write(_needSessionPersistence);
output.writeObject(vmw.common.TypeUtils.ToSByteArray(ms.GetBuffer()));
}
}
{
lock(this)
{
+ _needSessionPersistence = input.readBoolean();
+ if (!_needSessionPersistence)
+ {
+ return;
+ }
sbyte[] array = (sbyte[])input.readObject();
if (!_readFirstTime || array == null || array.Length == 0)
{
else
_mode = SessionStateMode.SQLServer;
_isReadonly = br.ReadBoolean();
- _needSessionPersistence = br.ReadBoolean();
// _app = HttpContext.Current.ApplicationInstance;
}
}