Win a copy of Java Mock Exams (software) this week in the Programmer Certification (OCPJP) forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

URL re-writing

 
Amir Ghahrai
Ranch Hand
Posts: 110
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,
Is there anyway to force URL re-writing even if the browser on the client accepts cookies?
When using URL encoding, the default is to store the session in cookies (if cookies are enabled),
but how do you force URL rewriting even with cookies enabled?
Thankx
 
Nate Johnson
Ranch Hand
Posts: 301
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
you can still url-rewrite even if cookies are turned on... we do it all the time where i work.
to force it, i suppose you could force all requests through a filter (need servlet 2.3), catch where the user wants to go, re-write it with the jsessionid, and redirect away
i think that would work anyway.
 
What are you doing? You are supposed to be reading this tiny ad!
the new thread boost feature brings a LOT of attention to your favorite threads
https://coderanch.com/t/674455/Thread-Boost-feature
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!