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?

Answer Posted / 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



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

If my browser does not support cookie, and my server sends a cookie instance what will happen?

1036


Write a command to get actual path of a servlet to the server?

968


Why servlet is mostly used?

1184


What is Client-Server Computing?

2350


How can we achieve transport layer security for our web application?

966


Explain the custom jsp tags and the beans.

1005


Explain the working of service() method of a servlet.

899


Which is better jsp or servlet?

976


How we can get ip address of client in servlet?

935


When to use doget() and when dopost()?

1042


What is servlet looping or chaining?

1072


What is ServletConfig object?

1096


How do you define a servlet?

936


What is the use of java servlet api?

975


How can we create deadlock situation in servlet?

1347