English 中文(简体)
JSF - Session Beanstart onlogout andlogin
原标题:JSF - Session Bean restart on logout and login

我有一个网络应用程序,有背信条,其背景是目前的用户 lo。 它是在共同基金基础上实施的。

当用户记录出来时,他就会被转至一个日志屏幕上(在另一个联合项目网页上)。 我希望本届会议在出现这种情况时能够消失,并在今后用户记录和输入申请时,将创造新的用途。

我的问题是——你如何删除一届会议? (我对新届会的猜测将自动在用户进入链接的下一个时间举行)

This is kinda newb i guess, but I couldn t find a solution for this. Thanks for the Help!

最佳回答
((HttpSession) FacesContext.getCurrentInstance()
   .getExternalContext().getSession(false)).invalidate();
问题回答

a. 面对背景:植被变化。





相关问题
why the session in iis automatically log out?

I used iis6, and when i called a function Directory.delete(), the all the session relate this website will be logged out. and i debugged the website, i found no exception. any one have ideas on this ? ...

Check session from a view in CodeIgniter

What is the best way to check session from a view in CodeIgniter, it shows no way in their user guide, otherwise I will have to make two views on everything, which is kinda weird...still a newbie to ...

Can I get the size of a Session object in bytes in c#?

Is it possible to get the size(in bytes) of a Session object after storing something such as a datatable inside it? I want to get the size of a particular Session object, such as Session["table1"], ...

提供严格分类的出席会议物体

提供严格分类的与会机会的最佳方式是什么? 我正计划转而选择矩阵,这正在促使汇编者抱怨我的幻觉方案拟订方法......

PHP Session is not destroying after user logout

I m trying to create an authentication mechanism for my PHP Application and I m having difficulty destroying the session. I ve tried unsetting the authentication token which was previously set within ...

热门标签