[Webware-discuss] Cheetah 0.9.9b1 released

2001-12-06 Thread Tavis Rudd
Hi, the first beta release of the Cheetah 0.9.9 series can be downloaded from http://cheetahtemplate.org/download.html now. We've had 6 alpha releases in this series over the last two months and the test suite has grown from 200 to 1100 test cases so unless any major bugs are found the 0.9.9

Re: [Webware-discuss] servlet instance caching

2001-12-06 Thread Tavis Rudd
On Thursday 06 December 2001 16:15, Daniel Popowich wrote: > Tavis Rudd writes: > > On Thursday 06 December 2001 10:35, Daniel Popowich wrote: > > > What happens then on a heavily loaded system when 100s or more > > > are hitting the same Servlet? Could this not lead to disaster > > > if in my co

Re: [Webware-discuss] servlet instance caching

2001-12-06 Thread Daniel Popowich
Tavis Rudd writes: > On Thursday 06 December 2001 10:35, Daniel Popowich wrote: > > What happens then on a heavily loaded system when 100s or more are > > hitting the same Servlet? Could this not lead to disaster if in my > > code I always refer to self.request() to get the request object? > > C

[Webware-discuss] Link Update Request

2001-12-06 Thread StuffIt Web Evengelist
Hello there, During a recent surf of your site, http://webware.sourceforge.net/, we noticed that at the following URL(s): http://webware.sourceforge.net/ ...you offer users help on how to handle downloaded files and you recommend winzip.com to handle downloaded files such as .zip, .rar, etc. W

Re: [Webware-discuss] servlet instance caching

2001-12-06 Thread Tavis Rudd
On Thursday 06 December 2001 10:35, Daniel Popowich wrote: > What happens then on a heavily loaded system when 100s or more are > hitting the same Servlet? Could this not lead to disaster if in my > code I always refer to self.request() to get the request object? > Couldn't one request overwrite

[Webware-discuss] servlet instance caching

2001-12-06 Thread Daniel Popowich
I have a question about reuse of servlet instances. The base class, Servlet, returns true for the method canBeReused(). This is the default and no subclass appears to override this. Yet, in Page.awake(), the attributes of the transaction are stuffed into self: def awake(self, transaction):

Re: [Webware-discuss] identify browser type with PSP

2001-12-06 Thread Ian Bicking
Try something like req.environ()['HTTP_USER_AGENT'] On Thu, 2001-12-06 at 10:57, Su Zhang wrote: > In cgi, we can use os.environ[ "HTTP_USER_AGENT" ] to verify what browser > does the client use. In PSP, how can I identify whether the client uses IE > or Netscape? Because os.environ does not have

[Webware-discuss] identify browser type with PSP

2001-12-06 Thread Su Zhang
In cgi, we can use os.environ[ "HTTP_USER_AGENT" ] to verify what browser does the client use. In PSP, how can I identify whether the client uses IE or Netscape? Because os.environ does not have the "HTTP_USER_AGENT" key. Thanks, Su ___ Webware-discus

RE: [Webware-discuss] newbie question on cookies

2001-12-06 Thread Jeff Johnson
> >IIRC, expires will also accept "NOW" to delete and "NEVER" for > >permanent. Setting a past date should also delete the cookie but I > >think "NOW" is what the standard calls for. > > I just tried "NEVER" but it didn't work for me on IE 5.5. > Are you sure > this isn't a feature that only

RE: [Webware-discuss] newbie question on cookies

2001-12-06 Thread Geoffrey Talvola
"The expires header lets the client know when it is safe to purge the mapping but the client is not required to do so. A client may also delete a cookie before it's expiration date arrives if the number of cookies exceeds its internal limits." This is from http://home.netscape.com/newsref/std/

RE: [Webware-discuss] newbie question on cookies

2001-12-06 Thread Geoffrey Talvola
At 10:40 AM 12/6/01 -0500, Jeff Johnson wrote: > > I've never tried that, but I believe that you just write a > > new session w/ the same name and no value or expiration - this should > > convert it to a blank session cookie. > >IIRC, expires will also accept "NOW" to delete and "NEVER" for >perma

[Webware-discuss] Timezone conversion

2001-12-06 Thread Hsueh-ching Yen
Hi,     I need to converting between timezones, say the form contains time information in EST and the database contains data in GMT. If I use os.environ[‘TZ’]=’EST5EDT’ in the PSP, would it effect other requests that made to the same page? Is there a function that takes a time (either in

Re: [Webware-discuss] newbie question on cookies

2001-12-06 Thread Geoffrey Talvola
At 10:45 AM 12/6/01 -0500, Aaron Held wrote: >Where is the setExpiration method? >Is this part of the new cookie stuff being worked on? > >I am still using webware 6.0a1 > >-Aaron It's in Webware 0.6 final. -- - Geoff Talvola [EMAIL PROTECTED] __

RE: [Webware-discuss] newbie question on cookies

2001-12-06 Thread Jeff Johnson
> I've never tried that, but I believe that you just write a > new session w/ the same name and no value or expiration - this should > convert it to a blank session cookie. IIRC, expires will also accept "NOW" to delete and "NEVER" for permanent. Setting a past date should also delete the cooki

Re: [Webware-discuss] newbie question on cookies

2001-12-06 Thread Aaron Held
Where is the setExpiration method? Is this part of the new cookie stuff being worked on? I am still using webware 6.0a1 -Aaron - Original Message - From: "Geoffrey Talvola" <[EMAIL PROTECTED]> To: "markus jais" <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]> Sent: Thursday, December 06, 2001 1

Re: [Webware-discuss] newbie question on cookies

2001-12-06 Thread Aaron Held
I've never tried that, but I believe that you just write a new session w/ the same name and no value or expiration - this should convert it to a blank session cookie. I would try it against a few browsers first. Unless anyone else knows for sure. -Aaron - Original Message - From: "Cost

Re: [Webware-discuss] newbie question on cookies

2001-12-06 Thread Costas Malamas
Excellent, thanks! Now, for the inverse question: How can you delete a persistent cookie from the client? Do you have to overwrite it with another persistent cookie with a different value? I am new in this cookie-cutting business, if you cann't tell... Thanks, Costas >From: Geoffrey Tal

Re: [Webware-discuss] newbie question on cookies (Another one!)

2001-12-06 Thread Costas Malamas
Thanks, I have already dug through these docs... What I didn't get --that made me post here-- were the following two questions: * Will an expiration date in the future make the cookie persistent? I haven't tried this, because... * How can I access other cookie properties from within webware?

RE: [Webware-discuss] newbie question on cookies (Another one!)

2001-12-06 Thread Jeff Johnson
> # The _getdate() routine is used to set the expiration time in > # the cookie's HTTP header. By default, _getdate() returns the > # current time in the appropriate "expires" format for a > # Set-Cookie header. The one optional argument is an offset from > # now, in seconds. For exa

Re: [Webware-discuss] newbie question on cookies

2001-12-06 Thread Geoffrey Talvola
At 12:36 AM 12/6/01 +0100, markus jais wrote: >hello >thanks, this explains the behavior > >is there a way to make it last for a specified amount of time. >for example, with Perl's CGI.pm I can specify a string like "+2M", >which means, that the cookie should stay on disk for 2 month > >I did not

Re: [Webware-discuss] newbie question on cookies (Another one!)

2001-12-06 Thread Aaron Held
The cookies are being handled by a few classes in the WebUtils component of webware. See the http://webware.sourceforge.net/Webware/Docs/ and click components The dosc for WebUtils point you to look at the source of the cookie class so.. go to the class list you can view the summaries of the sour

RE: [Webware-discuss] newbie question on cookies (Another one!)

2001-12-06 Thread Costas Malamas
I'd like to expand this question (sorry for the cut&paste, I just joined this list to get this answer :-) If this is the case, how can you create a persistent cookie on the client? I would like to use it just to identify the user, not authorize her. Thanks in advance --and since it's my firs