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 2 of 2

Thread: Need Your Help

  1. #1
    Junior Member
    Join Date
    Sep 2011
    Posts
    2
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Post Need Your Help

    I am writing one Login/Logout Model using JSP's and servlets.
    When I click on logout link, it goes to login page, but when i click browsers back button, it again redirects to previous page.

    I want ,When i click on browsers back button, login page itself should refresh.

    One more thing, i want to set 15 minutes as session expiration time after that i should move to login page.

    i am using web.xml configuration , but i am confused where to use condition to check wheather session is null or not

    please give me deatail example

    Thank You

  2. #2
    Think of me.... Mr.777's Avatar
    Join Date
    Mar 2011
    Location
    Pakistan
    Posts
    1,136
    My Mood
    Grumpy
    Thanks
    20
    Thanked 82 Times in 78 Posts
    Blog Entries
    1

    Default Re: Need Your Help

    JSP Sessions

    And next time better post them in right forum sections.