Re: Hi All, I am a newbee for cherrypy. My question is how to realize a link limitation for cherry?
Zhao Kevin <[email protected]>
| Newsgroups | gmane.comp.python.cherrypy |
|---|---|
| Message-ID | <[email protected]> |
Hi David,
Thanks for your help. May be I don't clarify my requests,so I put it
here. Thanks~
My request is to realize the function like that:
There is a Linux Distro installer ,with it we can install a specify
Linux Distro, just like installation process of Redhat and ubuntu, you need
to select the disk, set the network ,set the user id and passwd and then
begin to the installation process.
Now we are working about putting this installer to web, so we can get
access from browser.It will be more convenient. For example, I can get
access to "http://45.37.251.102" , select the parameters : disk, network ,
user id and passwd just like in the origin installer.After set the
parameters , begin installation. So I put the questions here, I need to
realize the function "forbid multiple http session" , because if multiple
session connecting to the server, one session will affect another session.
So at the same time of the installation process, I just want a single
session to server.
在 2016年4月7日星期四 UTC+8下午5:28:53,David Allouche写道:
>
>
> > On 7 Apr 2016, at 08:28, Zhao Kevin <[email protected] <javascript:>>
> wrote:
> >
> > Hi All ,
> > I am a new comer for cherrypy. It is really a convenient web
> frame ~
> > I want to realize a function as below:
> > After the cherry https server start , in the first browse , type
> into the ip and get access to the server.
> > In another browse , type into the ip address , the server reject
> the another access until the first access is over.
> > So, I want to set the server only allow once connection at the
> same time ... How can I realize it ? Is there any configuration parameters
> I should to set ?
> >
> > Now status:
> > I have finished the website ,using https. I can get access to the
> server in different browse at the same time.
> >
> > Pls feel free to let me know if you have any question.You response
> will be really appreciated for your kindly help~
> > Sincerely Thanks~
>
> Hello,
>
> I think you need to clarify your understanding of what is a server
> connection, and what is a browser session, and what it means to the server
> have only one of those active at a time. You might also want to learn about
> long polling, COMET, and websockets; but be aware that these are advanced
> features, and they are probably not what you want unless you can clearly
> articulate why you need them.
>
> As you stated your question, it cannot be answered, because it is not well
> defined. It appears to have incorrect underlying assumptions.
>
> Regards.
--
You received this message because you are subscribed to the Google Groups "cherrypy-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to cherrypy-users+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/[email protected]
To post to this group, send email to cherrypy-users-/JYPxA39Uh5TLH3MbocFF+G/[email protected]
Visit this group at https://groups.google.com/group/cherrypy-users.
For more options, visit https://groups.google.com/d/optout.