ankursaxena
Programmer
Hi, I have to develop a web app which as usual has user logins etc, I want to be able to maintain session accross the pages and not have anyone just use a link for one of the internal pages to access it without having to go through the login page first.
I also want to be able to remember the client and not have him/her enter the username for say few days..if they so choose to.
What is the best solution to get this working using servlets and jsp etc.
Would java beans help? (I am only know they are nice resuable piece of code, but dont really know where and how to use them and where it would be useful)
While I am at this webapps question, I wanted to know what is the best way of maintaining connections always on for a particular session, I have a lot of DB access so I want to store this connection and keep it on always till the session has expired.
Also Is there a way in which I can push data to an Applet without having to violate applet security.
I know these are too many questions, but my initial question is the most important one. Any help will be great.
Thank you soo much in advance
Ankur
I also want to be able to remember the client and not have him/her enter the username for say few days..if they so choose to.
What is the best solution to get this working using servlets and jsp etc.
Would java beans help? (I am only know they are nice resuable piece of code, but dont really know where and how to use them and where it would be useful)
While I am at this webapps question, I wanted to know what is the best way of maintaining connections always on for a particular session, I have a lot of DB access so I want to store this connection and keep it on always till the session has expired.
Also Is there a way in which I can push data to an Applet without having to violate applet security.
I know these are too many questions, but my initial question is the most important one. Any help will be great.
Thank you soo much in advance
Ankur