redirect immediately aborts the current request and sends a 303 response 
back to the browser with the location of the redirect. The browser then 
requests the new location, and a whole new request is started. If you want 
to remember things from one request to the next, you can put the values in 
the session.

Anthony

On Thursday, August 30, 2012 8:07:29 AM UTC-4, qwer qwer wrote:
>
> I made default/index.html to execute a function in default.py. If I write 
> redirect(..) in function, I am losing the current variable values in 
> default/index.html as the index.html executes again from beginning..what to 
> do? 

-- 



Reply via email to