Welcome to the Java Programming Forums


The professional, friendly Java community. 21,500 members and growing!


The Java Programming Forums are a community of Java programmers from all around the World. Our members have a wide range of skills and they all have one thing in common: A passion to learn and code Java. We invite beginner Java programmers right through to Java professionals to post here and share your knowledge. Become a part of the community, help others, expand your knowledge of Java and enjoy talking with like minded people. Registration is quick and best of all free. We look forward to meeting you.


>> REGISTER NOW TO START POSTING


Members have full access to the forums. Advertisements are removed for registered users.

Results 1 to 1 of 1

Thread: mantaining sessions in WebApp

  1. #1
    Member
    Join Date
    Mar 2011
    Posts
    82
    My Mood
    Daring
    Thanks
    17
    Thanked 1 Time in 1 Post

    Question mantaining sessions in WebApp

    hi to all
    as I'm creating a Web App. using struts and servlets. My App. is almost complete excluding one thing i.e. sessions. Here by sessions i mean that as when ever we login to any websites say email account and we know that our inbox can only be accessed "if we login !", this is what i'm thinking to implement.
    About Application:
    1.this is a small project, i have to create a site which will be used for viewing the movies running in theatres and can also see the upcommings of next seven days. this i implemented with little help of database, just to read the current system date and then show results on web page for the next seven days.
    2. next service provided for the users, after registering with the site they can even book tickets. here is where sessions are must as persons who are "not registered must not able to see booking page even if specified url is provided" as app contains a page which collects the user data inorder to book tickets and the url is ( in my application )
    "/rainbowentertainment/booking.view"
    .
    here is what a problem arises as if i enters this url in the browser then the booking page is displayed!
    I don't know how to prevent this?
    any suggestions regarding this is most welcomed
    thank you
    Last edited by arvindbis; August 25th, 2011 at 12:59 PM. Reason: mistyped certain words


Similar Threads

  1. Replies: 1
    Last Post: May 20th, 2011, 03:58 AM
  2. Simple Webapp
    By xhunter in forum What's Wrong With My Code?
    Replies: 4
    Last Post: February 11th, 2011, 03:40 PM