You shouldn't have to do that.  Most browsers cache form state so if a  
user jumps off your page, then hits back, the form values should all  
be restored.  Try doing nothing and see what the browser does.  I'll  
bet it is what you want.

-Todd

On Oct 27, 2009, at 4:37 PM, webbo wrote:

>
> Hi all,
>
> I am new to django and web design.  I might ask some non-sense
> questions.
>
> I want to store dropdown boxes values on client side by cookies.
>
> For example, any users open the web page and choose dropdown box
> value.
>
> If they jump to other page then go back, the web page will
> automatically show what they choose before.
>
> I tried session, but some weird things
>
> Please help and many thanks.
>
>
> >


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To post to this group, send email to django-users@googlegroups.com
To unsubscribe from this group, send email to 
django-users+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to