Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...


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



How session tracking can be achieved, if your browser doesn't support cookies (or) if cookies..

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

How session tracking can be achieved, if your browser doesn't support cookies (or) if cookies..

Answer / vinay

you can create form hidden fields also

Is This Answer Correct ?    5 Yes 0 No

Post New Answer

More Servlets Interview Questions

what is the difference between?when we write the code in following manner? class One extends httpservlet { } and class One extends genericservlet { }

4 Answers  


What are the different types of servlets?

0 Answers  


What is the difference between RequestDispatcher and sendRedirect?-

5 Answers   CTS,


What are the different session tracking techniques?

0 Answers  


What is the difference between sendredirect() and forward() in a servlet?

0 Answers  


How values can be passed from HTML page to servlet?

7 Answers   ABC,


What is connection pooling?

4 Answers   Wipro,


How to pass session values from one servlet container to another servlet container? or how can we get session values of one container in another container?

6 Answers   IBM, Infosys, TCS,


How would you create deadlock on your servlet?

0 Answers  


What is done after deploying a war file and before client gives a request

2 Answers   Bosch,


What is the use of welcome-file-list?

0 Answers  


How does Cookies work in Servlets?

0 Answers  


Categories