• Post Reply Bookmark Topic Watch Topic
  • New Topic

is url rewriting still used by programmers?

 
Ashutosh Mohle
Greenhorn
Posts: 4
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
<eom>
 
Tim Holloway
Bartender
Posts: 18417
60
Android Eclipse IDE Linux
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
"<eom>"???

Yes it is. There are only 2 ways to give the illusion of statefulness to the stateless HTTP protocol using a server-based session object as the state-holder. One is to use cookies (or at least some sort of piggybacked content data). The other is to put the session identifier in the URL itself.

Cookies are not guaranteed. Users may disable cookies, and specialized webapp clients might not even support cookies. Even where cookies are technically allowed, developers might prefer to avoid them due to legal restrictions, such as recent measures passed in Europe.

The alternative is URL rewriting. It's more fragile than cookies, since people can easily bypass it and carelessly-designed webapps can forget to do the necessary URL rewriting when presenting hyperlinks. But when cookies are not an option, it's the only standards-supported alternative.
 
Ashutosh Mohle
Greenhorn
Posts: 4
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thanku <eom>...is what we generally use to say end of message ...thanks alot.
 
Ashutosh Mohle
Greenhorn
Posts: 4
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
thanks...and i will take care of the convention in future.
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!