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

Difference between java beans & servlets?

1039


When servlet is loaded?

1064


What is the purpose of requestdispatcher interface?

1046


Can we use threads in Servlets?

1126


Differentiate between get and post?

1145


What is servlet container. how it works?

1124


Why is it that we can't give relative URL's when using ServletContext.getRequestDispatcher() when we can use the same while calling ServletRequest.getRequestDispatcher()?

1084


What are the mechanisms used by a servlet container for maintaining session information?

1015


Which HTTP method is non-idempotent?

1117


What are the differences between forward() method and sendredirect() methods?

1006


Define the lifecycle for executing a jsp page.

1067


How can an existing session be invalidated?

1153


Can servlet have a constructor ?

1034


What are different ways for authentication of servlet?

1065


What do you mean by cgi in servlet?

1062