在服务器上运行代码 [英] runing code on server

查看:217
本文介绍了在服务器上运行代码的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

嗨.
我有一个网站.我希望该用户登录并开始一些过程,所以当他注销时,不应停止该过程.它应该在与该特定用户电子邮件ID关联的服务器上启动.
可能吗?如果是的话,请给我一些想法.

hi.
i have a website. what i want that user logs in and start some process so when he logs out, the process should not be stopped. it should be started on server associated with that particular user email id.
is it possible? if yes then please give me some idea how to do it

推荐答案



您可以执行此操作,但是服务器中至少要处理一页.

我的意思是,您可以像一位管理员那样调用该方法.

当管理员单击一个按钮时,过程将在服务器端开始.


这是达到此要求的唯一方法.

我希望您知道响应后网站是无状态应用程序,服务器端没有关于先前用户的数据.

尝试上述方法即可达到您的要求.

最好的
Hi,

you can do this but there is atleast one page must be processing in server.

I mean you can invoke that method by one admin like.

when admin clicks one button then the process ''ll start in server side.


this is the only way to do that requirement.

I hope you know that websites are stateless applications after response there is no data regarding previous user in server side .

try above way it can reach your requirement.

All the Best


这篇关于在服务器上运行代码的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆