Re: What is URL rewriting?
- From: Rafael Naufal <rafael.naufal@xxxxxxxxx>
- Date: Fri, 09 Nov 2007 16:00:35 -0000
URL rewriting is the option when the client browser doesn't accept
cookies. The URL's are encoded in the form
"URL + ;jsessionid=4545". So, you can do response.encodeURL("/
servlet") to encode your URL's, but this will make effect only if the
browser doesn't accept cookies.
On Nov 9, 7:23 am, Sherman Pendley <spamt...@xxxxxxxxxxx> wrote:
kc.wong....@xxxxxxxxx writes:
Arne Vajhøj wrote:
The two methods described is used to associate a request with
a given session.
Dirk wrote:
in the original post he said "...to keep track of users between
requests". That means for me to remember wich user has sent the
request. In the enterprise applications I wrote for my company the
user information is usually stored as session object. We don't do such
things like url rewriting or cookies. But in those applications the
user has to login to the application before he can use it. That seems
to be the difference...
The session and session objects are stored in the server. Since HTTP
is stateless, you need ways to tell which session should be associated
with the HTTP requests the server receives. The server generate an
unique ID for each session, then send the unique ID to the user agent,
so that the user agent can send that ID back on its next request.
That's true if users log in through an HTML form.
If HTTP basic authentication is used instead of an HTML login form, the
user name is sent by the browser as part of the HTTP request headers, and
it can be used to identify the session.
sherm--
--
WV News, Blogging, and Discussion:http://wv-www.com
Cocoa programming in Perl:http://camelbones.sourceforge.net- Hide quoted text -
- Show quoted text -
.
- References:
- What is URL rewriting?
- From: richie
- Re: What is URL rewriting?
- From: Dirk Michaelsen
- Re: What is URL rewriting?
- From: Arne Vajhøj
- Re: What is URL rewriting?
- From: Dirk Michaelsen
- Re: What is URL rewriting?
- From: kc . wong . ird
- Re: What is URL rewriting?
- From: Sherman Pendley
- What is URL rewriting?
- Prev by Date: Re: Great SWT Program
- Next by Date: Re: notifying particular thread to wake up.
- Previous by thread: Re: What is URL rewriting?
- Next by thread: Re: What is URL rewriting?
- Index(es):
Relevant Pages
|