sessioID in a jsp.

Posted on 2005-04-21
Last Modified: 2011-09-20

<a href="<%= request.getRequestedSessionId() %>" alt="View Municipal Locations"><img name="icon_location" src="images/icon_location.gif" border="0"></a></td>

in this above line of code :

sessionID=<%= request.getRequestedSessionId() %>  what does this do ?? in the form there is no sessionID parameter !!

And also, what does alt="View Municipal Locations"  this do ??

Thank you.
Question by:letsbedecent
    LVL 19

    Expert Comment

    sessionID is the id of the session that system has created for this particular browser.. its used to make sure that there is not session overlap is going on.
    alt parameter is a little bubble description when user moves his/her mouse over the image...
    its used in the event the image fails to load...

    Author Comment

    so there is no need to have a sessionID parameter in the struts  form ??
    LVL 19

    Accepted Solution

    its not a necessary parameter, unless your servlet is looking for it..
    most of the time if its not there, system creates a new session... but it depends on the implementation....

    Featured Post

    Do You Know the 4 Main Threat Actor Types?

    Do you know the main threat actor types? Most attackers fall into one of four categories, each with their own favored tactics, techniques, and procedures.

    Join & Write a Comment

    Suggested Solutions

    Exchange server is not supported in any cloud-hosted platform (other than Azure with Azure Premium Storage).
    Basic understanding on "OO- Object Orientation" is needed for designing a logical solution to solve a problem. Basic OOAD is a prerequisite for a coder to ensure that they follow the basic design of OO. This would help developers to understand the b…
    Need more eyes on your posted question? Go ahead and follow the quick steps in this video to learn how to Request Attention to your question. *Log into your Experts Exchange account *Find the question you want to Request Attention for *Go to the e…
    Get a first impression of how PRTG looks and learn how it works.   This video is a short introduction to PRTG, as an initial overview or as a quick start for new PRTG users.

    732 members asked questions and received personalized solutions in the past 7 days.

    Join the community of 500,000 technology professionals and ask your questions.

    Join & Ask a Question

    Need Help in Real-Time?

    Connect with top rated Experts

    24 Experts available now in Live!

    Get 1:1 Help Now