Hi cgcoder,

If you're using the built-in framework, the RequestHandler subclass that
gets invoked to handle your request is instantiated only for the current
request, so you can use a class member to store any per-request information.
You can also use a global variable, if you wish, as long as you clean it out
at the end (or beginning) of the request.

-Nick Johnson

On Fri, Jun 19, 2009 at 3:15 PM, cgcoder <gopinath.ch...@gmail.com> wrote:

>
> Hi all,
>
>   In java web application, we have can have request scoped variable,
> which exist only during the lifetime of the request. Is there
> something similar to that in app engine (webapp /python) framework.
>
>   Basically what I am trying to do is to create a generic error page
> screen, which needs to dispaly the error based on what is set in the
> request variable. I am not sure how i can do this with python-
> appengine.
>
>  Please help meout.
>
> >
>


-- 
Nick Johnson, App Engine Developer Programs Engineer
Google Ireland Ltd. :: Registered in Dublin, Ireland, Registration Number:
368047

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Google App Engine" group.
To post to this group, send email to google-appengine@googlegroups.com
To unsubscribe from this group, send email to 
google-appengine+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/google-appengine?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to