Hi!
I do not have any reference to HappySession in my headers.
I enclosed the session.set(..) in in order to catch the
SessionNotFoundError,
your slution just tests if the item exists in the session but does it prevent from the
SessionNotFoundError exception?
thanks
phil
*** REPLY
>(Hmmm... multiple SESSION objects... in typical situations usually one
>single SESSION object should be enough. Notice that two SESSION objects
>mean two separate storage. Although HappySession is designed to handle
>multiple SESSION objects sharing the same key cookie, the expiration time
>m
>From: "Philipp Auersperg" <[EMAIL PROTECTED]>
>
>I also use HappySession and when catching the SessionNotFoundError
>weird things happen:
>here my code:
>
>
>
>
>session error!
>
>
>When the session is expired the error is not caught correctly and I get the
>error mentioned below. Plus, I h
>From: Diego Rodrigo Neufert <[EMAIL PROTECTED]>
>...
>too... well, in the standard html header I call call a method that do a
>call in
>all my sessions
Okie, now I see why you get the Transaction error problem. After an
exception is raised, Zope aborts the http request transaction, and any
Well, this problem just accours when I restart the server or I stay too much
time idle and the session expires...
The frame[0] (the first to be loaded) show a session not found message and in
frame[1] I got this error:
Error Type: KeyError
Error Value: NDxCfgEr_89YtG
So, if I refesh the page zope
I also use HappySession and when catching the SessionNotFoundError
weird things happen:
here my code:
session error!
When the session is expired the error is not caught correctly and I get the error
mentioned below. Plus, I have to restart my server because ZODB reports a
transaction
My conjecture now is that your error-handling HTML might be accessing
attributes from Zope server. A more correct way of handling exceptions
should have been using the .. block.
But I kind of make a cheat sheet recipe recommendation, tweaking the
standard_error_message, which was not a goo
--- In [EMAIL PROTECTED], Diego Rodrigo Neufert <[EMAIL PROTECTED]> wrote:
>I'm making a site with frames with session management. I'm using
>HappySession
>to do it...
>I need to call SESSION['something'] in various frames at the same time, but
>when a SESSION expire I got a Transaction Error tha
Sorry, the URL should be:
http://www.zope.org/Members/hungjunglu/Products/HappySession
Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com
___
Zope maillist