Re: Can one write/set a cookie from inside a bowser java applet?

Discussion in 'Java' started by Francois Belfort, Aug 18, 2004.

  1. zoopy <> wrote in message news:<4122406f$0$21106$4all.nl>...
    > On 17-8-2004 18:56, zoopy wrote:
    > > ---------File: demo.html --------------
    > > <applet code="SGCookie.class" codebase="." name="cookieApp" NOTMAYSCRIPT>

    >
    > Change that to
    > <applet code="SGCookie.class" codebase="." name="cookieApp" MAYSCRIPT>


    That is great! Thank you very much for the code!
    The code seems to need enabled javascript in the browser.
    is there also a way to do this without javascript?
    (or at least, with a browser that is not necessarily set to
    javascript enabled, so that it works for any setting?)


    francois
     
    Francois Belfort, Aug 18, 2004
    #1
    1. Advertising

  2. Francois Belfort

    zoopy Guest

    On 18-8-2004 13:59, Francois Belfort wrote:

    > zoopy <> wrote in message news:<4122406f$0$21106$4all.nl>...
    >
    >>On 17-8-2004 18:56, zoopy wrote:
    >>
    >>>---------File: demo.html --------------
    >>><applet code="SGCookie.class" codebase="." name="cookieApp" NOTMAYSCRIPT>

    >>
    >>Change that to
    >> <applet code="SGCookie.class" codebase="." name="cookieApp" MAYSCRIPT>

    >
    >
    > That is great! Thank you very much for the code!
    > The code seems to need enabled javascript in the browser.
    > is there also a way to do this without javascript?
    > (or at least, with a browser that is not necessarily set to
    > javascript enabled, so that it works for any setting?)
    >
    >
    > francois

    Don't think it works with Javascript disabled (the code eventually uses the Javascript engine of the
    browser), but just give it a try (it's easy to test).

    --
    Regards,
    Z.
     
    zoopy, Aug 18, 2004
    #2
    1. Advertising

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. David Dorward
    Replies:
    1
    Views:
    2,172
    Isofarro
    Jun 28, 2003
  2. Replies:
    5
    Views:
    614
    Aaron Watters
    May 2, 2008
  3. Replies:
    2
    Views:
    494
  4. Xeno Campanoli
    Replies:
    2
    Views:
    178
    Xeno Campanoli
    Jul 10, 2008
  5. Phil Powell
    Replies:
    2
    Views:
    244
    Grant Wagner
    Sep 5, 2003
Loading...

Share This Page