This is a multi-part message in MIME format.
------=_NextPart_000_004A_01C14870.DD4554D0
Content-Type: text/plain;
charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable
I bought the Cache book (Object-Oriented Application Development...) =
from Germany and it had some documentation of the Preserve property of =
the %Session object I could not find in the ISC stuff. Apparently there =
is a property value of the property that allows weblink-style full =
symbol table writes. The docs in the book and the ISC documatic are not =
in agreement.
From the ISC docs:
property Preserve As %Integer [Initial =3D 0;]=20
A flag specifying the level of state preservation required by this =
session. You can change the value of this flag at any time.=20
This can take one of the following values:=20
a.. 0 The only state information that is preserved is the =
information in the %session object.=20
b.. 1 The entire state of the session process is preserved from one =
request to the next. This means that you tie up this Cache process for =
just this one user. As it uses the same process all local variables, =
locks, etc. are preserved from one request to the next
From the book:
The book has three states. 0, 1 and 2.=20
a.. 0 is the same in both=20
b.. In addition to the session object, all other open objects an =
local variables are saved and restored [between page hits]=20
c.. 2 is the same as 1 in the ISC docs
Which is correct?
------=_NextPart_000_004A_01C14870.DD4554D0
Content-Type: text/html;
charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META content=3D"text/html; charset=3Diso-8859-1" =
http-equiv=3DContent-Type>
<META content=3D"MSHTML 5.00.3315.2870" name=3DGENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY>
<DIV><FONT face=3D"Trebuchet MS" size=3D2>I bought the Cache book =
(Object-Oriented=20
Application Development...) from Germany and it had some documentation =
of the=20
Preserve property of the %Session object I could not find in the ISC =
stuff.=20
Apparently there is a property value of the property that allows =
weblink-style=20
full symbol table writes. The docs in the book and the ISC documatic are =
not in=20
agreement.</FONT></DIV>
<DIV> </DIV>
<DIV><FONT face=3D"Trebuchet MS" size=3D2><STRONG>From the ISC=20
docs:</STRONG></FONT></DIV>
<DIV> </DIV>
<DIV><FONT face=3D"Trebuchet MS" size=3D2>property <B>Preserve</B> As =
<NOBR><A=20
href=3D"
http://127.0.0.1:1972/apps/documatic/%CSP.Documatic.cls?APP=3D1&a=
mp;PAGE=3DCLASS&LIBRARY=3DUSER&CLASSNAME=3D%25Library.Integer">%I=
nteger</A></NOBR>=20
[Initial =3D 0;] </NOBR></DIV>
<BLOCKQUOTE>A flag specifying the level of state preservation required =
by this=20
session. You can change the value of this flag at any time.=20
<P>This can take one of the following values:=20
<UL>
<LI><B>0</B> The only state information that is preserved is the =
information=20
in the %session object.=20
<LI><B>1</B> The entire state of the session process is preserved =
from one=20
request to the next. This means that you tie up this Cache process =
for just=20
this one user. As it uses the same process all local variables, =
locks, etc.=20
are preserved from one request to the next</LI></UL></BLOCKQUOTE>
<DIV><FONT face=3D"Trebuchet MS" size=3D2><STRONG>From the=20
book:</STRONG></FONT></FONT></DIV>
<BLOCKQUOTE>
<DIV><FONT face=3D"Trebuchet MS" size=3D2>The book has three states. =
0, 1 and=20
2. </FONT></DIV>
<UL>
<LI><FONT face=3D"Trebuchet MS" size=3D2>0 is the same in =
both</FONT>=20
<LI><FONT face=3D"Trebuchet MS" size=3D2>In addition to the session =
object, all=20
other open objects an local variables are saved and restored =
[between page=20
hits]</FONT>=20
<LI><FONT face=3D"Trebuchet MS" size=3D2>2 is the same as 1 in the =
ISC=20
docs</FONT></LI></UL>
<DIV><FONT face=3D"Trebuchet MS" size=3D2>Which is=20
correct?</FONT></DIV></BLOCKQUOTE></BODY></HTML>
------=_NextPart_000_004A_01C14870.DD4554D0--