def run_step1n2(): result = {'session_cookie': mk.step1()} mk.step2(result['session_cookie']) return result
def run_step2(): print request.forms.session_cookie mk.step2(str(request.forms.session_cookie)) return {}