> Saving it in the session > is the most convenient, and is how Flash works.
I'm not sure what I'm doing, but the session object dosen't seem to be holding any values, this is how I'm trying to manipulate the session object: def formProjectAdd(self): # # validate!! # fData=request.params['projectName'] if fData !='': query=Session.query(ArkClient).filter(ArkClient.client==fData) if len(query.all())<=0: formClient=ArkClient(fData) Session.add(formClient) Session.commit() session['status']='Client Added' session['statusCSS']='normal' else: session['status']='Client allready exists. Not added' session['statusCSS']='error' else: session['status']='No text entered' session['statusCSS']='error' redirect_to('projectMenu') When I check though a debug, the session keys have been set and are there... session.keys(): ['status', 'statusCSS', '_accessed_time', 'name', '_creation_time'] The mako files starts with this.. <html> <head> <title>ArkMain</title> ${h.rails.stylesheet_link_tag('/css/main.css')} ## ${h.rails.javascript_include_tag('/javascripts/effects.js', builtins=True)} </head> <!-- left nav --> <div id="left nav" class="leftNav"> ${session.keys()} And prints out: ['_accessed_time', 'name', '_creation_time'] Any help much appreciated. Jules --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "pylons-discuss" group. To post to this group, send email to pylons-discuss@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/pylons-discuss?hl=en -~----------~----~----~----~------~----~------~--~---