For your second problem, use a Session Object. Create a Sessoin Object in your
Login Screen.
In your second screen, look whether this Session Object exists. If this does not
exist, then redirect the user to the Login Page.
Cheers,
Amar..
Vaibhav Bhanot <[EMAIL PROTECTED]> on 09/29/99 10:53:35 PM
Please respond to Vaibhav Bhanot <[EMAIL PROTECTED]>
To: [EMAIL PROTECTED]
cc: (bcc: Amarnath Nanduri/IT/VANCPOWER)
Subject: sessions !!!
can anybody solve my problem...one is i want that a particular frame
should always be attached to the html whenever output goes to the
browser in html form to the user.....if it can be done and if yes then
how ..if somebody can send me some code for help..or tell me where i
can find some code!!!
second i am designing my application using servlets..i want that the
first screen should be a login screen and ....and if some one tries to
directly move to the next screen by typing the url of the next screen in
the browser then he should come to the login screen coz he has not
entered the login yet....if this can be implemented if yes then can i
get some code from anyone.....
thanks in advance !!!
vaibhav
===========================================================================
To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST".
FAQs on JSP can be found at:
http://java.sun.com/products/jsp/faq.html
http://www.esperanto.org.nz/jsp/jspfaq.html
===========================================================================
To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST".
FAQs on JSP can be found at:
http://java.sun.com/products/jsp/faq.html
http://www.esperanto.org.nz/jsp/jspfaq.html