titiwangsa
Jul 17th, 2007, 09:31 AM
hello to all
quick question.
i have a page
lets call it page1.jsp
on page1.jsp
there are 5 buttons
but if you are not logged in, you can only see 4
so
lets say user is not logged in.
user goes to page1.jsp
user sees 4 buttons
user has to login to see 5 buttons
so user logs in
but when user logs in,
user goes to the default main menu page
so user has to navigate back to page1.jsp
anybody has any idea how i can do this
- view page1.jsp as unauthenticated.
- login
- upon login i get back view1.jsp, (the same location) but since there are acegi codes in the jsp, i see more than what i saw before the authentication process.
quick question.
i have a page
lets call it page1.jsp
on page1.jsp
there are 5 buttons
but if you are not logged in, you can only see 4
so
lets say user is not logged in.
user goes to page1.jsp
user sees 4 buttons
user has to login to see 5 buttons
so user logs in
but when user logs in,
user goes to the default main menu page
so user has to navigate back to page1.jsp
anybody has any idea how i can do this
- view page1.jsp as unauthenticated.
- login
- upon login i get back view1.jsp, (the same location) but since there are acegi codes in the jsp, i see more than what i saw before the authentication process.