Besides URL rewriting, what options are available for maintaining sessions without using cookies?

StackOverflow https://stackoverflow.com/questions/250501

  •  05-07-2019
  •  | 
  •  

Question

I've seen various options for URL rewriting here on Stack Overflow, and other places on the web, but was curious to see if there were other options.

Was it helpful?

Solution

This is speculation, as Cookies and URL Rewriting are the big two, but technologically, I think it'd be possible to:

  • do some massive hackery with javascript that captures all links and submits a form with information.
  • track the session on the server based on IP

Both have their downsides and holes obviously.

OTHER TIPS

Session variables? At work, we are not allowed to use non session-cookies without a load of permissions.

You can either maintain state through a cookie or through a query parameter. The browser needs to be able to pass data to the web server somehow and those are the only two options.

I suppose that would depend on what technology you are using. In ColdFusion you can maintain session variables without cookies.

Using a client-side database storage, such as Google Gears (sqlite) ? Html5 is expected to include one (webkit already does it).

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top