How session tracking can be achieved, if your browser
doesn't support cookies (or) if cookies are disabled?
Answers were Sorted based on User's Feedback
Answer / rambabu gonela
URL rewriting is another way of exchanging session ID (as
part of URL) when clients does not accept cookies (cookies
disabled on browser).
When cookies are disabled on client, client just ignores
the session information on all response headers. The
session?s isNew() method will always return true (Container
keep creating new sessions for each request, unless URL
rewriting used).
If all URLs on webpage is explicitly written with
reponse.encodeURL(String url) method, URL rewriting will
happen automatically if cookies don?t work with the client
(encodeURL method will add session information only when
URLrewriting is turned on i.e, session management depends
on URL parameter).
Is This Answer Correct ? | 6 Yes | 1 No |
what is SSL?
Why do we have servlet filters?
i have 500 jsp in my application ,with same forward name,it lokks for appropritae jsp from 1 to 500,but i want to send response to 498 page,what should i do
What do you mean by web applications? Explain web application directory arrangement?
What is meant by servlet? What are the parameters of the service method?
Explain the lifecycle of a servlet?
What is the structure of the http response
What do you mean by deployment descriptor?
What is servlet and list its types?
When the methods init() and Distroy() will be called?
What exception should be thrown when servlet is not properly initialized?
Can we use the constructor, instead of init(), to initialize servlet?