Ignore:
Timestamp:
25/06/10 08:54:43 (11 years ago)
Author:
astephen
Message:

getting status monitoring working properly.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • cows_wps/trunk/cows_wps/controllers/test.py

    r7034 r7082  
    3131                 
    3232        return resp 
     33 
     34    def setcookie(self): 
     35        response.set_cookie('wps_ui_error_msg', 'The WPS was run with the inputs you provided. The WPS rejected the job submission with the following error message. You may be able to modify your request to overcome this error.'.replace(" ", "_"), expires=3600) 
     36        return "I set it" 
     37 
     38        
     39    def getcookie(self): 
     40        cookie_msg = request.cookies["wps_ui_error_msg"] 
     41        return "COOKIE: %s" % cookie_msg.replace("_", " ") 
    3342 
    3443    def beaker(self): 
Note: See TracChangeset for help on using the changeset viewer.