File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes HTML, CSS and JavaScript and the fly likes Alternative to cookies?? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Engineering » HTML, CSS and JavaScript
Bookmark "Alternative to cookies??" Watch "Alternative to cookies??" New topic

Alternative to cookies??

Anubhuti Bhargava

Joined: May 11, 2001
Posts: 9
hello all,
I was making a stand alone program, showing the directory structure,for example just like a explore window in any of the window operating system.I was storing the state of the file in the cookies for the given brower i am asked to remove the cookies and show the same structure ...could any one of you can help me out.??
Ok by stand alone i mean that i made just a html page with javascript incorperated in it.which shows me the directory structure.
I have to actually , work with jsp and webserver ,i think now it is a bit more clear..
Seems i have to clear query.
First my requirement : To develop a tree structure .i.e , the number of nodes or childs of the tree are fetch dynamically from the database , that is they are not constants.The +and , -minus sign ..say to expand the parent node and contract the parent node respectively .Now for this javascript cookies can be used to store the state of the tree .But in my application , i am not allowed to add cookies.

[This message has been edited by Anubhuti Bhargava (edited May 15, 2001).]
[This message has been edited by Anubhuti Bhargava (edited May 17, 2001).]
Ranch Hand

Joined: Nov 22, 2008
Posts: 18944
A stand-alone program? In what, Java? Are you developing an HTML application? Can you provide a few more details?
Randall Twede
Ranch Hand

Joined: Oct 21, 2000
Posts: 4351

I dont really understand what you mean either, but the alternative to using cookies is called url rewriting

Visit my download page
I agree. Here's the link:
subject: Alternative to cookies??
jQuery in Action, 3rd edition