problem with session management

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • veerapureddy
    New Member
    • Jun 2007
    • 21

    #1

    problem with session management

    Hi everybody,

    I am facing a problem with session management.
    Actually , whata i am doing is, by clicking on search button in a jsp page, im dispaying some data in table, which is from MS access database.the actual problem is , if i restart the server and run my project(netbean s ide), in that same browser iam able to see the some data in table without clicking on search button.if i close the browser n restart the server, then i am getting normal jsp page w/odata in table. i am getting that data from session, which is setted in a handler.

    please help me in this issue.
  • JosAH
    Recognized Expert MVP
    • Mar 2007
    • 11453

    #2
    I moved an identical post from the Java Articles section to this Java Forum section.
    I'll remove this post soon because it's a double post of your other post. The
    Java Articles section is for informative articles only; The Java Forum section is
    for questions (like yours). Thanks.

    kind regards,

    Jos

    Comment

    • veerapureddy
      New Member
      • Jun 2007
      • 21

      #3
      Originally posted by JosAH
      I moved an identical post from the Java Articles section to this Java Forum section.
      I'll remove this post soon because it's a double post of your other post. The
      Java Articles section is for informative articles only; The Java Forum section is
      for questions (like yours). Thanks.

      kind regards,

      Jos
      Hi JosAH,

      By mistake i posted two times, sorry for that.Thank you

      Comment

      • dmjpro
        Top Contributor
        • Jan 2007
        • 2476

        #4
        Actually this hapens due to the Browsing Session for a Web-Browser.
        It would be better to solve ur problem if u send me the code of ur JSP page.
        Right?
        So please send me the code of that JSP page.

        Kind regards,
        Dmjpro.

        Comment

        • atulshukla12
          New Member
          • Jun 2007
          • 1

          #5
          The Pb is bcoz of that you are setting the session attribute in yr jsp and not removing that u need to remove yr session like
          ctx.session.rem oveAttribute( aatt, "aatt");

          I am sure it will help you.

          Atul Shukla

          Comment

          • dmjpro
            Top Contributor
            • Jan 2007
            • 2476

            #6
            Originally posted by atulshukla12
            The Pb is bcoz of that you are setting the session attribute in yr jsp and not removing that u need to remove yr session like
            ctx.session.rem oveAttribute( aatt, "aatt");

            I am sure it will help you.

            Atul Shukla

            Welcome to TSDN.
            U r right.
            But it is told that the serverr already restarted then there is no need to remove the attribute explicitly because the attributes r unbound when the server restarted or stoped.
            Right?

            Kind regards,
            Dmjpro.

            Comment

            Working...