问题描述
我正在为用户构建一个Web应用程序来添加/编辑数据。他们可以在会话期间添加/编辑
几个记录。
完成后(不一定立即,可能是10分钟或更长时间)
稍后),我需要发送一封电子邮件,其中包含
添加/编辑的摘要信息。
我可以使用sessionid或user'跟踪记录登录,但
如何确定何时发送电子邮件以及用户是谁以来
是否在session_end事件中没有可用的会话信息?
这将在商业网络服务器上,因此计划任务不是一个选项。
是否有一些循环活动会话的方法
应用程序级别,以便我可以将活动的sessionid'(或会话
变量)与编辑时保存到db的那些进行比较?
TIA
-
Alphonse Giambrone
电子邮件:a-giam at customdatasolutions dot us
您可以启动新线程来完成数据库工作,然后在线程完成后发送邮件吗?
-
Lucas Tam(RE********@rogers.com)
请删除删除来自回复时的电子邮件地址。
I am building a web app for users to add/edit data. They may add/edit
several records during a session.
When they are done (not necessarily immediately, could be 10 or more minutes
later), I need to send an email with some summary info of what was
added/edited.
I can keep track of the records by using the sessionid or user''s login, but
how can I determine when to send the email and who the user was since there
is no session info available in the session_end event?
This will be on a commercial web server so scheduled tasks is not an option.
Is there some method of looping through the active sessions on an
application level so that I could compare the active sessionid''s (or session
variables) with those saved to a db during editing?
TIA
--
Alphonse Giambrone
Email: a-giam at customdatasolutions dot us
You could fire off a new thread to do the database work, then send the e-
mail once the thread is done?
--
Lucas Tam (RE********@rogers.com)
Please delete "REMOVE" from the e-mail address when replying.
http://members.ebay.com/aboutme/coolspot18/
You could fire off a new thread to do the database work, then send the e-
mail once the thread is done?
--
Lucas Tam (RE********@rogers.com)
Please delete "REMOVE" from the e-mail address when replying.
http://members.ebay.com/aboutme/coolspot18/
这篇关于会话结束后识别用户的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!