Combination View Flat View Tree View
Threads [ Previous | Next ]
Prasanna Raj
session.timeout.redirect.on.expire and auto.login.ignore.paths
October 19, 2012 12:55 PM
Answer

Prasanna Raj

Rank: Junior Member

Posts: 69

Join Date: January 30, 2012

Recent Posts

Hello,

I have set the property
session.timeout.redirect.on.expire = true so that every time the user's session expires, he is redirected to the default page.

I have 2 scenarios:

1) User types in the URL of a private page (say page2) after the session expires. So the user is redirected to the login page, type his credentials and he is sent to the private page (say page2) automatically.

2) User types in the URL of a private page after the session expires. So the user is redirected to the login page, type his credentials and now, he is redirected to another page (say page1) where he is made to select an option and based on that is redirected to the private page (say page2).

How do I achieve these 2 scenarios.

I have auth.forward.by.last.path property as true in my portal.properties.

Thanks.