Hi,
I have made an online shopping store using
Servlets,
JSP and EJBs.
I want that when user presses 'Add to Cart' button for the first time, he is shown login page, where he has to login and every other time he is shown the shopping cart page.
How do I find if the current user has logged in or not?
Please tell me. I am using
JBoss 3.2.1.
Abhishek