Père Noël wrote:
Quote:
Scott Bryce <sbryce (AT) scottbryce (DOT) com> wrote: www.example.com?myvar=somevalue
Of course, the variable name in JavaScript doesn't necessarily have to
be myvar. It can be anything you assign somevalue to.
could that be used to mimic cookies ? |
Yes, but it would be a pain. If you ever lost the ?myvar=somevalue, you
will have "tossed your cookies" so to speak. Your code would have to
insure that the ?myvar=somevalue was tacked on to every link. If the
user left the site, then returned, the "cookie" would be lost. Using a
cookie would make your life much easier.
Quote:
how could i add "?css_theme=the_choosen_theme"
to an url in the form of :
file:///Path/to/help/dit/THE_HELP.html
and get it back from one page to the other ? |
Someone else is going to have to answer that one. It has been years
since I have attempted it. I handle this sort of thing on the server
side now.