This week's book giveaway is in the Reactive Progamming forum.
We're giving away four copies of Reactive Streams in Java: Concurrency with RxJava, Reactor, and Akka Streams and have Adam Davis on-line!
See this thread for details.
Win a copy of Reactive Streams in Java: Concurrency with RxJava, Reactor, and Akka Streams this week in the Reactive Progamming forum!

Ramasubramanian santhanam

Greenhorn
+ Follow
since Jan 30, 2005
Cows and Likes
Cows
Total received
0
In last 30 days
0
Total given
0
Likes
Total received
0
Received in last 30 days
0
Total given
0
Given in last 30 days
0
Forums and Threads
Scavenger Hunt
expand Ranch Hand Scavenger Hunt
expand Greenhorn Scavenger Hunt

Recent posts by Ramasubramanian santhanam

Hi Jeanne,

Thanks for your reply. Actually the problem here is when there is no session existing(on account of session expiry) then i should redirect to login page which is working fine.(Through form-based authentication of websphere). But after logging out if i give the username and password it should take me back to the initial search page(first page of the application) and not to the page from which the session timout has happened.

I cannot check for existence of a particular object in the session as you have said since my session itself will not be there.

thanks
Ram.
14 years ago
Hi,

Am using websphere's security framework with struts in my application with LDAP. Am using the form-based authentication in my application. Am facing a problem when the session timeout happens in my application.

When am trying to access an URL without authentication it redirects me to login.jsp. When i give the username and password it takes me back to the URL which i gave before on successful authentication.
When am in the 4th page of my application and when the session timesout it comes back to login.jsp. And when i give the user name and password it goes back to the 4th page itself that is the page from which the session got timedout. But i want to go to the first page of my application.

So is there a way to specify successful login page in the login.jsp or in any other config files. That is from login.jsp if i give a valid user name and password it should always go to the first page of my application.

Any help would be appreciated.

thanks
ram.
14 years ago