会话超时时如何重定向到登录屏幕? [英] How to redirect to Logon screen when session time out?

查看:70
本文介绍了会话超时时如何重定向到登录屏幕?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

当我的LS Web应用程序超时时,如果用户在任何屏幕上单击,它们将显示红色x和一些不友好的错误消息.如何在LS中编写代码以检测超时并将用户重定向到登录屏幕?目前唯一的方法是 请用户重新加载主页或退出Web浏览器并返回,这很痛苦,我的用户不满意,请帮忙.

在哪里可以增加LS中的会话超时?

When My LS Web application time out, if user clicks on any screens they get those red x and some unfriendly error messages.  How can I write code in LS to detect time out and redirect users to the logon screen?  At the moment the only way is to ask user to reload the Home page or exit web browser and go back in, this is pain and my users are not happy please help.

Where can I increse the Session time out in LS?

在此先感谢您的任何反馈

Thanks in advance for any feedback

推荐答案

我想知道如何捕获它并为用户提供一个优美的环境消息.

I'd sure like to know how to trap this and give the user a graceful message.

这是一个很好的问题.


这篇关于会话超时时如何重定向到登录屏幕?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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