Win a copy of TDD for a Shopping Website LiveProject this week in the Testing forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Paul Clapham
  • Ron McLeod
  • Jeanne Boyarsky
  • Tim Cooke
Sheriffs:
  • Liutauras Vilda
  • paul wheaton
  • Henry Wong
Saloon Keepers:
  • Tim Moores
  • Tim Holloway
  • Stephan van Hulst
  • Carey Brown
  • Frits Walraven
Bartenders:
  • Piet Souris
  • Himai Minh

After LogOut , use Browser back button and access the task giving new Session

 
Ranch Hand
Posts: 110
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi folks,

I got some interesting issue with Weblogic Session maintain.

I have provided SinOut functionality when user clicks SignOut as follows.

HttpSession session = request.getSession(false);
session.inValidate();

User selecting the Browser back button and trying to access the Tasks.
When doing this it is generating the new Session again.
-------------------------------------
Front Controller functionality i have written is like this.

HttpSession session = request.getSession(false);
if(session == null)
{
forwarding to the Login.jsp
}
else
{
forwarding to the Task JSP
}

Here the session is not Null. Since after SignOut and clicking browser back button creating new Session ,

How to resolve this.

If any one can give solution it will be appreciate.


Thanks in advance....
 
Ranch Hand
Posts: 142
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Do you have any filters or something else that creates session?

Lin
 
Ranch Hand
Posts: 1871
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi

I think you seem to use the pageFlow provided by weblogic. I am not sure of the version of weblogic.

Any how the session is created automatically as you said. The only thing I can think of is to check a particular variable in session which you should normally have.
 
He was giving me directions and I was powerless to resist. I cannot resist this tiny ad:
free, earth-friendly heat - a kickstarter for putting coin in your pocket while saving the earth
https://coderanch.com/t/751654/free-earth-friendly-heat-kickstarter
reply
    Bookmark Topic Watch Topic
  • New Topic