Win a copy of The Java Performance Companion this week in the Performance forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

what is url re writing

 
Gevarghese
Greenhorn
Posts: 6
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Can any one please tell me what url-rewriting
 
Achalveer Singh
Greenhorn
Posts: 25
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
url rewritting is a technique for session tracking.....
this is one of the technique out of five for session tracking.
we can use url rewritting if browser fails to support cookies......
 
Christophe Verré
Sheriff
Posts: 14691
16
Eclipse IDE Ubuntu VI Editor
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I knew only three Can you enumerate the five techniques you're thinking ?
[ September 25, 2006: Message edited by: Satou kurinosuke ]
 
Gevarghese
Greenhorn
Posts: 6
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
what are the five technique for session tracking ? can you explain
 
Achalveer Singh
Greenhorn
Posts: 25
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
technique for session trackings--
1. URL rewritting
2. by using cookie
3. by session object
4.by hidden variables
fifth one i forget..............
 
Achalveer Singh
Greenhorn
Posts: 25
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
i think there are only four technique that i have posted for session tracking.
 
Karthikeyan Varadarajan
Ranch Hand
Posts: 98
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I think we are achieving the third one(Session Object) by using other three (URL rewriting, hidden variable and cookies ).

Session object will hold all the values related to user session and we may have some id kind of things (JSessionId).

The client will send the ID thro Cookies or URL Rewriting or Hidden variables. Thro� that ID , the server will fetch the session Object.


The simplified version is ,

If a session is required , Container will create a Session object and assign a ID to it. The send the ID to the client thro� Cookies or URL Rewriting or Hidden variable (I think now a days we are not using the third one).

From the next request onwards from the same client you will get the ID. Using that ID, that server will fetch the corresponding session object and do whatever it need.

So there are only three ways .
 
Ben Souther
Sheriff
Posts: 13411
Firefox Browser Redhat VI Editor
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Originally posted by Achalveer Singh:
technique for session trackings--
1. URL rewritting
2. by using cookie
3. by session object
4.by hidden variables
fifth one i forget..............



The session relies on one of the above methods for maintaining its state.
I know of three ways that containers maintain session state.
  • Session Cookies
  • URL-Rewriting
  • SSL Sessions


  • You, the application developer, could also use other methods, such as hidden form fields or cookies.
     
    • Post Reply
    • Bookmark Topic Watch Topic
    • New Topic