C Books Guide and List
C++ Books Guide and List
Best Java Books

3,749 questions

4,049 answers

114 comments

10,705 users

How can I enable session tracking for JSP pages if the browser has disabled cookies?

0 votes
248 views
asked Jan 3, 2014 by smith Geek (15,340 points)

1 Answer

0 votes
By default session tracking uses cookies to associate a session identifier with a user. If the browser does not support cookies, or if cookies are disabled, you can still use session tracking using URL rewriting. For URL rewriting to be effective, you need to append the session ID for each and every link that is part of your servlet response. By using the methods response.encodeURL() and response.encodeRedirectURL() we can achieve this.
answered Jan 3, 2014 by rajesh Guru (39,140 points)

Related questions

0 votes
1 answer 113 views
0 votes
1 answer 15 views
15 views asked Jan 3, 2014 by smith Geek (15,340 points)
0 votes
1 answer 75 views
0 votes
1 answer 4 views
4 views asked Jan 3, 2014 by smith Geek (15,340 points)
0 votes
1 answer 106 views
...