I wouldn't be too surprised if someone would get a patent on this _unguessable_ way to store a session identifier into the URL.
It is indeed very much the same to fetch the session id from the URL, regardingless where it's located. And making a redirect to such an URL in case no session id is present, is also no rocket science. All this will be less than 10 lines of code.
The DNS method combines two advantages: You don't need to produce relative links, and you don't have to rely on cookies.
But I don't think that it's worth a patent, it's really obvious. And if anything that is not too complicated would be patented, we would need even more lawyers than we already have.
I hereby claim the patent on putting beer into the fridge.
Of course you forgot one other method:
http://www.myshop.com:625/some/file.html
I wouldn't be too surprised if someone would get a patent on this _unguessable_ way to store a session identifier into the URL.
It is indeed very much the same to fetch the session id from the URL, regardingless where it's located. And making a redirect to such an URL in case no session id is present, is also no rocket science. All this will be less than 10 lines of code.
The DNS method combines two advantages: You don't need to produce relative links, and you don't have to rely on cookies.
But I don't think that it's worth a patent, it's really obvious. And if anything that is not too complicated would be patented, we would need even more lawyers than we already have.
I hereby claim the patent on putting beer into the fridge.
Kai