Hi Jim, Thanks for your response. Jim Kutter wrote: > I would simply do the following > > job_step = int(request.get('job_step', 1)) > I did try something similar, and have just tried the fragment you suggest, but if I try to use job_step when it's /not/ in the request I get an attribute error on job_step... Cheers, PhilK