1 << >> 512 entries on 359 pages 
chronological datelist docs images search download love

Sat 26 Jan 2002 07:06
need to run linux - dualboot or in another window... look into that and see what you can do. Too much is hampering me with Win2k.
Today, will I leave here at 9:00 and take beginner dance class? at 10:15? I think I will. Then work some more. What about Nathan? I don't know. What about Beverly? Oh, how ridiculous that I am in this situation!

expartist.org renewal...
install latest internet explorer-- my help system is now messed up!

No anyways-- what can I do? to not say anyways as much

--O.k., so what is left to do with web site?
will we use zope to make static pages, and give them to a conventional webserver?

to do on site:
-get dates the way you want them:
-problem--- textalign is not working the way I want it to... for aligning certain elements-- inheritance getting in way?
--aside from using css- and perhaps needing to get <p>s and <br>s compliant-- everything seems to be fine..
--we're getting editing down well.
--so, mostly just cleanup work, css work.
--also the decision to go totally static versus dynamic.
--need to back up data.fs and this document.
-great!
---also possibly make first sentence/phrase of each entry larger than the others- as a sort of title/lead-in - visual draw in?
--make docs folder viewable?
--look at fucked company, etc. copyrights, if they have them.


--to do next:
see if what we have can be transferred to

to write about:
how to not say anyways
how calling others/ cell phone use makes me feel. What should my policy be with respect to this technology? The thoughts on the AI list regarding peak experiences with technology, and that woman's answer...
The dance perf. Thoughts re socializing. Rachel, Rachel's email: rleshaw postmark.com
Errin's addr: box 362 Victoria Station
westmount
quebec canada
H3Z-2V8
60cents
Quiet, quiescence, where are we going.

quicken & other programs-- free/open?

Overview
What is a Cookie? Cookies are strings of text that webservers (like Zope) can store on the client browser to record small bits of data like user names, current positions, last visits, etc. They are written to client file system either in one long cookies.txt file for Netscape or in a directory for I.E.


Example One
Say you want to set a cookie that stores the name of your favorite programming language (this is not supposed to be useful, just an example). Copy and paste this into a DTML Document, view it, shutdown your browser, find your cookies and see if it worked.

<dtml-call "RESPONSE.setCookie('favorite_language', 'Python', expires='Wed, 19 Feb 2020 14:28:00 GMT')">

note:The expiration date can be any date you want but if you do not set one the cookie will expire when the browser is shutdown.

Now, if you wanted to get it back you need to check for it and call it.

<dtml-if "REQUEST.has_key('favorite_language')">
<dtml-var favorite_language>
</dtml-if>



Example Two
Now you want to store some user name and email address (like I do in ZUBB). The user name and email address are set in a form the posts to this example so we can skip the dtml-call step.

<dtml-call "RESPONSE.setCookie('user_name', user_name, expires='Wed, 19 Feb 2020 14:28:00 GMT')">

<dtml-call "RESPONSE.setCookie('email_address', email_address, expires='Wed, 19 Feb 2020 14:28:00 GMT')">

note: notice that the second email_address, the actually zope variable, is not in single quotes.

Now in ZUBB I want to check for the cookie (user name/email address) and insert it into the post/reply form if it is there.

Tips for Working with and Testing Cookies

Find your cookie file and get ready to open it (you might have to close your browser first)
Keep two different browsers open (IE, Netscape), leave one as the test and the other to code in Zope.
Set the test browser to "warn before accepting cookies" (or whatever it says)
Be ready to shutdown and reboot your brower every five seconds.
You can create a DTML Method called "cookies" or some such thing and call it from your standard_html_header
© 2000, Digital Creations, Inc. All rights
::/Members/philh/vim_html/ftpvim.zip

looks horrid on n4

--consider titles on journal entries?


.

1 << >> 512 entries on 359 pages 
chronological datelist docs images search download love


about this site