chaitu chaitu
asked on
doubt regarding response.encodeURL and JSessionid
hi
imy doubt regarding response.encodeURL
i know this method is used when u disable cookies in the browser
jsessionid will append in the URL
<a href="<%=response.encodeUR L(ex.jsp)% >"?name='+ name>
my doubt is how jsessionid will append to the URL when i use encodeURL method;
should i create sessionid using session.getId();
should i applend this sessionid to the URL;
how this Jsessionid will work in ex.jsp when i use request.getParameter("name ");
what is the use of jsessionid here explain me clearly
imy doubt regarding response.encodeURL
i know this method is used when u disable cookies in the browser
jsessionid will append in the URL
<a href="<%=response.encodeUR
my doubt is how jsessionid will append to the URL when i use encodeURL method;
should i create sessionid using session.getId();
should i applend this sessionid to the URL;
how this Jsessionid will work in ex.jsp when i use request.getParameter("name
what is the use of jsessionid here explain me clearly
By using encodeURL(url), it will automatically append !jsession=xxxxxxxxxxxxxxxx xx after ex.jsp
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
If you just turned cookies off for your browser and tested this, you would have seen that it worked ;-)