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 are the types of an http request?

0 Answers  


What do you mean by scope object and what are its types?

0 Answers  


Which interface must be implemented by all servlets?

0 Answers  


Difference between httpservlet and generic servlets?

0 Answers  


What is load-on-startup in servlet?

0 Answers  


Explain web container.

0 Answers  


How do you define a servlet?

0 Answers  


Why doesn’t a servlet include main()? How does it work?

0 Answers  


What is the use of Servlets?

7 Answers   Infosys,


What are the new features added to servlet 2.5?

0 Answers  


How to handle the debug errors in servlets?

2 Answers  


Where do you define dispatcherservlet?

0 Answers  


Categories