tnx alot
but actually my scenario dose not deal with user so I thing cookies do
not help a lot
suppose there are 3 airline counter which fill ticket forms and send
them to the cashier maybe  simultaneously  .forms are sent to the
cashier which is just a function in my view ,,I want to know how I can
handle these simultaneous request ..I also should be concern about
power failure ( actually  It is important not to miss queued request
if there is any queue  )

On Feb 19, 7:29 pm, Dennis Lee Bieber <wlfr...@ix.netcom.com> wrote:
> On Sun, 19 Feb 2012 06:27:19 -0800 (PST), "rafiee.nima"
>
> <rafiee.n...@gmail.com> wrote:
> >hi
> >I want to develop a VIEW for cashier system which my receives multiple
> >parallel form as request  from deferent clients
> >I want to know how can I handle these request  ...is there any thing
> >like queue in django
>
>         The first thing you need to understand is that HTML is stateless; by
> itself it has no knowledge or history of other activity -- not even for
> a single user, much less multiple users. Everything a server receives
> from a client is a new activity.
>
>         This is why browser "cookies" were invented. On the first connection
> a cookie is generated to identify the user-session and passed to the
> browser; all related connections have to return the cookie in order to
> identify which session this post applies to. The cookie may be used to
> retrieve transient information from a database (this is how the history
> of previous posts is maintained).
>
>         Since going back to the server for minor updates may be so costly,
> one may find lots of JavaScript in a page -- to handle collection and
> verification of data on a form, and only sending a complete transaction
> back to the server at the end. Or one advances into AJAX processing
> which may  be able to bypass the webserver itself for some stuff; this
> way the session/user information stays on the client browser while the
> JavaScript goes around the webserver [the "asynchronous" part of AJAX].
> --
>         Wulfraed                 Dennis Lee Bieber         AF6VN
>         wlfr...@ix.netcom.com    HTTP://wlfraed.home.netcom.com/

-- 
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