Asp.Net Flash/FLV在Flash Elemement上保持会话活动 [英] Asp.Net flash/flv keep session alive while on Flash Elemement

查看:111
本文介绍了Asp.Net Flash/FLV在Flash Elemement上保持会话活动的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

在使用asp网页的flash元素时,如何向服务器发送保持活动信号.

服务器上的当前会话超时设置为15分钟(不能超过该时间).我遇到的问题是用户将使用Flash元素,但是每当他单击Flash元素中的按钮时,它都不会向服务器发送保持活动状态的信号.

解决此问题的建议是什么.

How would one go at sending a keep alive signal to the server while using the flash element of the asp webpage.

The current session time out on the server is set to 15 minutes (can''t be more than that). The problem I''m having is that the user will use the Flash element but whenever he clicks on a button within the flash element, it doesn''t send a keep alive signal to the server.

What would be the recommendation on over coming this problem.

推荐答案

有一些机会可以使您的会话保持活跃.

1.在web.config中将会话超时设置为最大. (您提到的不是适合您的解决方案)
2.您可以每分钟使用Ajax调用一个页面方法,该方法将返回空字符串.

希望对您有所帮助!
There are some opportunity to make your session alive.

1. Set in the web.config the session timeout to maximum. (Which you''ve mentioned not a solution for you)
2. You can call a page method with Ajax every minute which returns empty string.

I hope this helps!


这篇关于Asp.Net Flash/FLV在Flash Elemement上保持会话活动的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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