• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Ron McLeod
  • Paul Clapham
  • Tim Cooke
  • Devaka Cooray
Sheriffs:
  • Liutauras Vilda
  • paul wheaton
  • Rob Spoor
Saloon Keepers:
  • Tim Moores
  • Stephan van Hulst
  • Tim Holloway
  • Piet Souris
  • Mikalai Zaikin
Bartenders:
  • Carey Brown
  • Roland Mueller

is url rewriting still used by programmers?

 
Greenhorn
Posts: 4
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
<eom>
 
Saloon Keeper
Posts: 28125
198
Android Eclipse IDE Tomcat Server Redhat Java Linux
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
thanks...and i will take care of the convention in future.
 
We find this kind of rampant individuality very disturbing. But not this tiny ad:
We need your help - Coderanch server fundraiser
https://coderanch.com/wiki/782867/Coderanch-server-fundraiser
reply
    Bookmark Topic Watch Topic
  • New Topic