I'm currently using cookie to store value via JavaScript in client side in IE6 older version
Is there is any other way to store values so that it can be retrieved when user navigates to different pages?
Is there a way to store values in the server via JavaScript without exposing a API in the server or any API which works in old and new browsers?
Is there a way to store values in a file via JavaScript?
Supporting IE6 is not a good idea; even if you are working on some legacy kiosk or something, get them to upgrade!
But to your answers:
In short: I don't know why you're using IE6, and I don't know why you're not using cookies or an ajax call to the server, but those would be your best options.