<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=iso-8859-1">
<META content="MSHTML 6.00.2900.2802" name=GENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=#ffffff>
<DIV><FONT face=Arial size=2>You should have a look at 'temp_folder'.&nbsp; It 
is a ram-based folder (ie. objects stored in it are not written to the ZODB), so 
when zope stops running anything in the temp_folder is lost, but it is faster 
than writing to the ZODB (disk-based storage).&nbsp; Zope uses a temp_folder for 
its sessions.</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV>
<DIV><FONT face=Arial size=2>hth</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV>
<DIV><FONT face=Arial size=2>Jonathan</FONT></DIV>
<BLOCKQUOTE 
style="PADDING-RIGHT: 0px; PADDING-LEFT: 5px; MARGIN-LEFT: 5px; BORDER-LEFT: #000000 2px solid; MARGIN-RIGHT: 0px">
  <DIV style="FONT: 10pt arial">----- Original Message ----- </DIV>
  <DIV 
  style="BACKGROUND: #e4e4e4; FONT: 10pt arial; font-color: black"><B>From:</B> 
  <A title=aluminum3458@yahoo.com href="mailto:aluminum3458@yahoo.com">Alric 
  Aneron</A> </DIV>
  <DIV style="FONT: 10pt arial"><B>To:</B> <A title=zope@zope.org 
  href="mailto:zope@zope.org">zope@zope.org</A> </DIV>
  <DIV style="FONT: 10pt arial"><B>Sent:</B> Thursday, January 12, 2006 4:39 
  PM</DIV>
  <DIV style="FONT: 10pt arial"><B>Subject:</B> [Zope] Zope background 
  variables</DIV>
  <DIV><BR></DIV>
  <DIV id=RTEContent>Hello,<BR>I was wondering if there is a way to store a 
  global variable on the server, and have such variable be easily retrieved in 
  Zope dtml/python methods.<BR>I want to make my own login system with 
  sessions.&nbsp; And store session ID on the server and cookie to identify 
  logged in users.<BR>Is there an easy way to store a list of users and session 
  IDs on the server?&nbsp; Like a background array that's always available as 
  long as the server is running.<BR></DIV>
  <P>
  <HR SIZE=1>
  Yahoo! Photos<BR>Got holiday prints? <A 
  href="http://us.rd.yahoo.com/mail_us/taglines/holidayprints/*http://pa.yahoo.com/*http://us.rd.yahoo.com/mail_us/taglines/photos/evt=38089/*http://pg.photos.yahoo.com/ph//print_splash">See 
  all the ways</A> to get quality prints in your hands ASAP.
  <P>
  <HR>

  <P></P>_______________________________________________<BR>Zope maillist&nbsp; 
  -&nbsp; 
  Zope@zope.org<BR>http://mail.zope.org/mailman/listinfo/zope<BR>**&nbsp;&nbsp; 
  No cross posts or HTML encoding!&nbsp; **<BR>(Related lists - 
  <BR>&nbsp;http://mail.zope.org/mailman/listinfo/zope-announce<BR>&nbsp;http://mail.zope.org/mailman/listinfo/zope-dev 
  )<BR></BLOCKQUOTE></BODY></HTML>