From: Doc O. <doc...@us...> - 2001-02-23 02:04:46
|
Michael Pemberton <mp...@ph...> wrote: > the problem was that there was no method of downloading content AFTER t= he page > has been rendered. That's what I'm talking about, look: var tmpImg =3D new Image(); tmpImg.src =3D 'site.php?name=3DdonaldDuck&age=3D60; now 'site.php' can read 'name' and 'age', but can also send back data by setting a cookie, see, an image request can be used to 'push' data to the= browser aswell. you could for example set a 'replyCookie=3DGUID' in the request, and then= have an intervall that look for that cookie, and then fires an event when it i= s received. ____________________________________________________________________ Get free email and a permanent address at http://www.amexmail.com/?A=3D1 |
From: Doc O. <doc...@us...> - 2001-02-23 15:48:26
|
"Richard Bennett" <ma...@ri...> wrote: > I thought client-side javascript couldn't read cookies written by a > server-side app?? > Richard. sure it can, a cookie is a cookie is a ... ____________________________________________________________________ Get free email and a permanent address at http://www.amexmail.com/?A=3D1 |
From: Doug M. <do...@cr...> - 2001-02-23 19:11:44
|
ANY cookie, regardless of who wrote it, is client-side (stored by the browser) But don't get cookies confused with session variables (ASP) ----- Original Message ----- From: "Doc Oliver" <doc...@us...> To: <dyn...@li...> Sent: Friday, February 23, 2001 7:49 AM Subject: Re: [Re: [Re: [Dynapi-Dev] Dynamic Content Loading (IT WORKS)]] "Richard Bennett" <ma...@ri...> wrote: > I thought client-side javascript couldn't read cookies written by a > server-side app?? > Richard. sure it can, a cookie is a cookie is a ... ____________________________________________________________________ Get free email and a permanent address at http://www.amexmail.com/?A=1 _______________________________________________ Dynapi-Dev mailing list Dyn...@li... http://lists.sourceforge.net/lists/listinfo/dynapi-dev --- Outgoing mail is certified Virus Free by AVG Free Edition Download at: http://www.grisoft.com/html/us_index.cfm Checked by AVG anti-virus system (http://www.grisoft.com). Version: 6.0.231 / Virus Database: 112 - Release Date: 2/12/01 |
From: Raymond S. <dst...@or...> - 2001-02-23 19:41:05
|
This is also user "elective". If they turn cookies off anything you developed on top off them ges hosed, hence the desire to look for more dependable solutions. ----- Original Message ----- From: "Doug Melvin" <do...@cr...> To: <dyn...@li...> Sent: Friday, February 23, 2001 2:10 PM Subject: Re: [Re: [Re: [Dynapi-Dev] Dynamic Content Loading (IT WORKS)]] > ANY cookie, regardless of who wrote it, is client-side (stored by the > browser) > But don't get cookies confused with session variables (ASP) > > ----- Original Message ----- > From: "Doc Oliver" <doc...@us...> > To: <dyn...@li...> > Sent: Friday, February 23, 2001 7:49 AM > Subject: Re: [Re: [Re: [Dynapi-Dev] Dynamic Content Loading (IT WORKS)]] > > > "Richard Bennett" <ma...@ri...> wrote: > > I thought client-side javascript couldn't read cookies written by a > > server-side app?? > > Richard. > > sure it can, a cookie is a cookie is a ... > > > ____________________________________________________________________ > Get free email and a permanent address at http://www.amexmail.com/?A=1 > > _______________________________________________ > Dynapi-Dev mailing list > Dyn...@li... > http://lists.sourceforge.net/lists/listinfo/dynapi-dev > > > --- > Outgoing mail is certified Virus Free by AVG Free Edition > Download at: http://www.grisoft.com/html/us_index.cfm > Checked by AVG anti-virus system (http://www.grisoft.com). > Version: 6.0.231 / Virus Database: 112 - Release Date: 2/12/01 > > > _______________________________________________ > Dynapi-Dev mailing list > Dyn...@li... > http://lists.sourceforge.net/lists/listinfo/dynapi-dev > |
From: Nuno F. <nun...@wi...> - 2001-02-28 12:12:23
|
I don't think that's even as big a issue than JAVA being turned on. Pratically everybody (users not developers) have cookies turned on. Every e-commerce site that I know of uses cookies, at least for storing user ID's. The great majority (if not almost all) people don't even change the default IE or NS options, and so cookies are turned on by default. It would be great if someone can get some stats on cookie use... to prove this (or dis-prove :) -----Original Message----- From: dyn...@li... [mailto:dyn...@li...]On Behalf Of Raymond Smith Sent: sexta-feira, 23 de Fevereiro de 2001 19:40 To: dyn...@li... Subject: Re: [Re: [Re: [Dynapi-Dev] Dynamic Content Loading (IT WORKS)]] This is also user "elective". If they turn cookies off anything you developed on top off them ges hosed, hence the desire to look for more dependable solutions. ----- Original Message ----- From: "Doug Melvin" <do...@cr...> To: <dyn...@li...> Sent: Friday, February 23, 2001 2:10 PM Subject: Re: [Re: [Re: [Dynapi-Dev] Dynamic Content Loading (IT WORKS)]] > ANY cookie, regardless of who wrote it, is client-side (stored by the > browser) > But don't get cookies confused with session variables (ASP) > > ----- Original Message ----- > From: "Doc Oliver" <doc...@us...> > To: <dyn...@li...> > Sent: Friday, February 23, 2001 7:49 AM > Subject: Re: [Re: [Re: [Dynapi-Dev] Dynamic Content Loading (IT WORKS)]] > > > "Richard Bennett" <ma...@ri...> wrote: > > I thought client-side javascript couldn't read cookies written by a > > server-side app?? > > Richard. > > sure it can, a cookie is a cookie is a ... > > > ____________________________________________________________________ > Get free email and a permanent address at http://www.amexmail.com/?A=1 > > _______________________________________________ > Dynapi-Dev mailing list > Dyn...@li... > http://lists.sourceforge.net/lists/listinfo/dynapi-dev > > > --- > Outgoing mail is certified Virus Free by AVG Free Edition > Download at: http://www.grisoft.com/html/us_index.cfm > Checked by AVG anti-virus system (http://www.grisoft.com). > Version: 6.0.231 / Virus Database: 112 - Release Date: 2/12/01 > > > _______________________________________________ > Dynapi-Dev mailing list > Dyn...@li... > http://lists.sourceforge.net/lists/listinfo/dynapi-dev > |
From: Matthew A. S. <ms...@sh...> - 2001-02-23 19:18:22
|
When you create a cookie via server side script: VB ASP: Response.Cookies("Name") =3D "Value" This actually adds the headers to the web page that is served to the client to create the cookies on the client. When you make a request for a new web page the cookies that qualify are sent to the server along with your request. This way when you want to access a cookie on the server: VB ASP:=20 x =3D Request.Cookies("Name") The values are available to the server. As Doug mentioned this should not be confused with Session Variables, Application Variables, or even some languages call them Server Side Cookies. -- Matthew -----Original Message----- From: Doug Melvin [mailto:do...@cr...] Sent: Friday, February 23, 2001 2:10 PM To: dyn...@li... Subject: Re: [Re: [Re: [Dynapi-Dev] Dynamic Content Loading (IT WORKS)]] ANY cookie, regardless of who wrote it, is client-side (stored by the browser) But don't get cookies confused with session variables (ASP) ----- Original Message ----- From: "Doc Oliver" <doc...@us...> To: <dyn...@li...> Sent: Friday, February 23, 2001 7:49 AM Subject: Re: [Re: [Re: [Dynapi-Dev] Dynamic Content Loading (IT WORKS)]] "Richard Bennett" <ma...@ri...> wrote: > I thought client-side javascript couldn't read cookies written by a > server-side app?? > Richard. sure it can, a cookie is a cookie is a ... ____________________________________________________________________ Get free email and a permanent address at http://www.amexmail.com/?A=3D1 _______________________________________________ Dynapi-Dev mailing list Dyn...@li... http://lists.sourceforge.net/lists/listinfo/dynapi-dev --- Outgoing mail is certified Virus Free by AVG Free Edition Download at: http://www.grisoft.com/html/us_index.cfm Checked by AVG anti-virus system (http://www.grisoft.com). Version: 6.0.231 / Virus Database: 112 - Release Date: 2/12/01 _______________________________________________ Dynapi-Dev mailing list Dyn...@li... http://lists.sourceforge.net/lists/listinfo/dynapi-dev |
From: Nuno F. <nun...@wi...> - 2001-02-28 12:07:25
|
The problem with cookies is that, though you can write them, you can only read them again (and get a new value for instance) only if you reload a page, so I don't think you can use them to comunicate with the browser, without reloading the page. -----Original Message----- From: dyn...@li... [mailto:dyn...@li...]On Behalf Of Matthew A. Shirey Sent: sexta-feira, 23 de Fevereiro de 2001 19:10 To: dyn...@li... Subject: RE: [Re: [Re: [Dynapi-Dev] Dynamic Content Loading (IT WORKS)]] When you create a cookie via server side script: VB ASP: Response.Cookies("Name") = "Value" This actually adds the headers to the web page that is served to the client to create the cookies on the client. When you make a request for a new web page the cookies that qualify are sent to the server along with your request. This way when you want to access a cookie on the server: VB ASP: x = Request.Cookies("Name") The values are available to the server. As Doug mentioned this should not be confused with Session Variables, Application Variables, or even some languages call them Server Side Cookies. -- Matthew -----Original Message----- From: Doug Melvin [mailto:do...@cr...] Sent: Friday, February 23, 2001 2:10 PM To: dyn...@li... Subject: Re: [Re: [Re: [Dynapi-Dev] Dynamic Content Loading (IT WORKS)]] ANY cookie, regardless of who wrote it, is client-side (stored by the browser) But don't get cookies confused with session variables (ASP) ----- Original Message ----- From: "Doc Oliver" <doc...@us...> To: <dyn...@li...> Sent: Friday, February 23, 2001 7:49 AM Subject: Re: [Re: [Re: [Dynapi-Dev] Dynamic Content Loading (IT WORKS)]] "Richard Bennett" <ma...@ri...> wrote: > I thought client-side javascript couldn't read cookies written by a > server-side app?? > Richard. sure it can, a cookie is a cookie is a ... ____________________________________________________________________ Get free email and a permanent address at http://www.amexmail.com/?A=1 _______________________________________________ Dynapi-Dev mailing list Dyn...@li... http://lists.sourceforge.net/lists/listinfo/dynapi-dev --- Outgoing mail is certified Virus Free by AVG Free Edition Download at: http://www.grisoft.com/html/us_index.cfm Checked by AVG anti-virus system (http://www.grisoft.com). Version: 6.0.231 / Virus Database: 112 - Release Date: 2/12/01 _______________________________________________ Dynapi-Dev mailing list Dyn...@li... http://lists.sourceforge.net/lists/listinfo/dynapi-dev |
From: Michael B. <mb...@st...> - 2001-02-28 12:42:25
|
you don't have to reload the whole page, you could use images for that. you would need a serverside-script (or whatever) that outputs an image (a 1x1px transparent gif would do the job) and send the cookies along with the image. hmmm, i kinda like the idea, because there's one thing images have that a frame doesn't have: an onerror-handler that fires when the image couldn't be loaded. -- Michael Buerge > Von: "Nuno Ferreira" <nun...@wi...> > Antworten an: dyn...@li... > Datum: Wed, 28 Feb 2001 12:03:41 -0000 > An: <dyn...@li...> > Betreff: RE: [Re: [Re: [Dynapi-Dev] Dynamic Content Loading (IT WORKS)]] > > The problem with cookies is that, though you can write them, > you can only read them again (and get a new value for instance) > only if you reload a page, so I don't think you can use them > to comunicate with the browser, without reloading the page. |
From: Richard B. <ma...@ri...> - 2001-02-28 13:26:18
|
Ahh, that's true, now the onload would tell me when the cookie has arrived, instead of polling for it. I have an example of a testcase here: http://www.resass.f2s.com/dynapi/Richard_Examples/Dynamic_Stock_Ticker.html I'll try to use the img load properties to see how that works. At the moment it only loads once in NS6, and stops after +-30 mins in other browsers. Cheers, Richard Bennett ma...@ri... www.richardinfo.com (Everything running on, and ported to the 19/12/2000 snapshot of DynAPI2) Find the DynAPI faq here: http://sourceforge.net/docman/display_doc.php?docid=656&group_id=5757 Browse the mailinglist here: http://www.mail-archive.com/index.php3?hunt=dynapi ----- Original Message ----- From: "Michael Buerge" <mb...@st...> To: <dyn...@li...> Sent: Wednesday, February 28, 2001 1:43 PM Subject: Re: [Dynapi-Dev] Dynamic Content Loading (IT WORKS) > you don't have to reload the whole page, you could use images for that. you > would need a serverside-script (or whatever) that outputs an image (a 1x1px > transparent gif would do the job) and send the cookies along with the image. > hmmm, i kinda like the idea, because there's one thing images have that a > frame doesn't have: an onerror-handler that fires when the image couldn't be > loaded. > > -- > Michael Buerge > > > > Von: "Nuno Ferreira" <nun...@wi...> > > Antworten an: dyn...@li... > > Datum: Wed, 28 Feb 2001 12:03:41 -0000 > > An: <dyn...@li...> > > Betreff: RE: [Re: [Re: [Dynapi-Dev] Dynamic Content Loading (IT WORKS)]] > > > > The problem with cookies is that, though you can write them, > > you can only read them again (and get a new value for instance) > > only if you reload a page, so I don't think you can use them > > to comunicate with the browser, without reloading the page. > > > _______________________________________________ > Dynapi-Dev mailing list > Dyn...@li... > http://lists.sourceforge.net/lists/listinfo/dynapi-dev > ____________________________________________________________ > Get your domain name and domain-based e-mail from > Namezero.com. New! Namezero Plus domains now available. > Find out more at: http://www.namezero.com > |
From: Eytan H. <ey...@tr...> - 2001-02-28 13:59:59
|
Can I have the ticker code? 8an |
From: Michael P. <mp...@ph...> - 2001-02-28 15:29:30
|
huh? i don't know of any ticker code. Eytan Heidingsfeld wrote: > Can I have the ticker code? > 8an > > _______________________________________________ > Dynapi-Dev mailing list > Dyn...@li... > http://lists.sourceforge.net/lists/listinfo/dynapi-dev -- Michael Pemberton mp...@ph... ICQ: 12107010 |
From: Richard B. <ma...@ri...> - 2001-03-01 00:00:28
|
The ticker code is a bunch of try-outs thrown together, basically the php page parses the info from www.stockpoint.com and brings it to my domain, where it writes it into four cookies, this was to test getting round the 4k limit, then the page reads the cookies, and displays the info, calling another php script which deletes the cookies. (because for some reason I couldn't delete them directly client-side). Anyway, I was just mucking about, so it's dirty code, but I attached the files in case you need something. Richard ----- Original Message ----- From: "Eytan Heidingsfeld" <ey...@tr...> To: <dyn...@li...> Sent: Wednesday, February 28, 2001 3:00 PM Subject: RE: [Dynapi-Dev] Dynamic Content Loading (IT WORKS) > Can I have the ticker code? > 8an > > _______________________________________________ > Dynapi-Dev mailing list > Dyn...@li... > http://lists.sourceforge.net/lists/listinfo/dynapi-dev > ____________________________________________________________ > Get your domain name and domain-based e-mail from > Namezero.com. New! Namezero Plus domains now available. > Find out more at: http://www.namezero.com > |
From: Michael P. <mp...@ph...> - 2001-02-28 13:43:19
|
It is possible to capture errors with my applet. The reason I came up with this in the first place is for the eventual dynamic loading of code. This will allow for new widgets to be downloaded as needed. There are two main problems I see with images / cookies for downloading: cookie are only allowed to be 4k in size. no syncronization The syncronization problem also exists with using a frame to download content. Michael Buerge wrote: > you don't have to reload the whole page, you could use images for that. you > would need a serverside-script (or whatever) that outputs an image (a 1x1px > transparent gif would do the job) and send the cookies along with the image. > hmmm, i kinda like the idea, because there's one thing images have that a > frame doesn't have: an onerror-handler that fires when the image couldn't be > loaded. > > -- > Michael Buerge > > > Von: "Nuno Ferreira" <nun...@wi...> > > Antworten an: dyn...@li... > > Datum: Wed, 28 Feb 2001 12:03:41 -0000 > > An: <dyn...@li...> > > Betreff: RE: [Re: [Re: [Dynapi-Dev] Dynamic Content Loading (IT WORKS)]] > > > > The problem with cookies is that, though you can write them, > > you can only read them again (and get a new value for instance) > > only if you reload a page, so I don't think you can use them > > to comunicate with the browser, without reloading the page. > > _______________________________________________ > Dynapi-Dev mailing list > Dyn...@li... > http://lists.sourceforge.net/lists/listinfo/dynapi-dev -- Michael Pemberton mp...@ph... ICQ: 12107010 |
From: Michael B. <mb...@st...> - 2001-02-28 14:27:41
|
your applet is a nice piece of code, congratulations. but: it's useless for me. i need support for the mac, and as long as that can't be achieved, i have to stick with a frames or cookie solution and deal with synchronisation problems :( -- Michael Buerge > Von: Michael Pemberton <mp...@ph...> > Antworten an: dyn...@li... > Datum: Thu, 01 Mar 2001 00:41:53 +1100 > An: dyn...@li... > Betreff: Re: [Dynapi-Dev] Dynamic Content Loading (IT WORKS) > > It is possible to capture errors with my applet. > > The reason I came up with this in the first place is for the eventual dynamic > loading of code. > This will allow for new widgets to be downloaded as needed. > > There are two main problems I see with images / cookies for downloading: > cookie are only allowed to be 4k in size. > no syncronization > > The syncronization problem also exists with using a frame to download content. > > Michael Buerge wrote: > >> you don't have to reload the whole page, you could use images for that. you >> would need a serverside-script (or whatever) that outputs an image (a 1x1px >> transparent gif would do the job) and send the cookies along with the image. >> hmmm, i kinda like the idea, because there's one thing images have that a >> frame doesn't have: an onerror-handler that fires when the image couldn't be >> loaded. >> >> -- >> Michael Buerge >> >>> Von: "Nuno Ferreira" <nun...@wi...> >>> Antworten an: dyn...@li... >>> Datum: Wed, 28 Feb 2001 12:03:41 -0000 >>> An: <dyn...@li...> >>> Betreff: RE: [Re: [Re: [Dynapi-Dev] Dynamic Content Loading (IT WORKS)]] >>> >>> The problem with cookies is that, though you can write them, >>> you can only read them again (and get a new value for instance) >>> only if you reload a page, so I don't think you can use them >>> to comunicate with the browser, without reloading the page. >> >> _______________________________________________ >> Dynapi-Dev mailing list >> Dyn...@li... >> http://lists.sourceforge.net/lists/listinfo/dynapi-dev > > -- > Michael Pemberton > mp...@ph... > ICQ: 12107010 > > > > > _______________________________________________ > Dynapi-Dev mailing list > Dyn...@li... > http://lists.sourceforge.net/lists/listinfo/dynapi-dev > |
From: Michael P. <mp...@ph...> - 2001-02-28 16:04:39
|
is there any way of upgrading the jvm on a mac browser? there is a way of changing the code to force it to use a java plugin, this might allow you to upgrade to the latest (and possibly more complete) version. Michael Buerge wrote: > your applet is a nice piece of code, congratulations. > but: it's useless for me. i need support for the mac, and as long as that > can't be achieved, i have to stick with a frames or cookie solution and deal > with synchronisation problems :( > > -- > Michael Buerge > > > Von: Michael Pemberton <mp...@ph...> > > Antworten an: dyn...@li... > > Datum: Thu, 01 Mar 2001 00:41:53 +1100 > > An: dyn...@li... > > Betreff: Re: [Dynapi-Dev] Dynamic Content Loading (IT WORKS) > > > > It is possible to capture errors with my applet. > > > > The reason I came up with this in the first place is for the eventual dynamic > > loading of code. > > This will allow for new widgets to be downloaded as needed. > > > > There are two main problems I see with images / cookies for downloading: > > cookie are only allowed to be 4k in size. > > no syncronization > > > > The syncronization problem also exists with using a frame to download content. > > > > Michael Buerge wrote: > > > >> you don't have to reload the whole page, you could use images for that. you > >> would need a serverside-script (or whatever) that outputs an image (a 1x1px > >> transparent gif would do the job) and send the cookies along with the image. > >> hmmm, i kinda like the idea, because there's one thing images have that a > >> frame doesn't have: an onerror-handler that fires when the image couldn't be > >> loaded. > >> > >> -- > >> Michael Buerge > >> > >>> Von: "Nuno Ferreira" <nun...@wi...> > >>> Antworten an: dyn...@li... > >>> Datum: Wed, 28 Feb 2001 12:03:41 -0000 > >>> An: <dyn...@li...> > >>> Betreff: RE: [Re: [Re: [Dynapi-Dev] Dynamic Content Loading (IT WORKS)]] > >>> > >>> The problem with cookies is that, though you can write them, > >>> you can only read them again (and get a new value for instance) > >>> only if you reload a page, so I don't think you can use them > >>> to comunicate with the browser, without reloading the page. > >> > >> _______________________________________________ > >> Dynapi-Dev mailing list > >> Dyn...@li... > >> http://lists.sourceforge.net/lists/listinfo/dynapi-dev > > > > -- > > Michael Pemberton > > mp...@ph... > > ICQ: 12107010 > > > > > > > > > > _______________________________________________ > > Dynapi-Dev mailing list > > Dyn...@li... > > http://lists.sourceforge.net/lists/listinfo/dynapi-dev > > > > _______________________________________________ > Dynapi-Dev mailing list > Dyn...@li... > http://lists.sourceforge.net/lists/listinfo/dynapi-dev -- Michael Pemberton mp...@ph... ICQ: 12107010 |
From: Doug M. <do...@cr...> - 2001-02-28 21:05:47
|
are you on crack (just kidding) go to www.irt.org click on javascript click on cookies and you will get SetCookie GetCookie and DeleteCookie these do NOT require you to reload any page anywheres ----- Original Message ----- From: "Nuno Ferreira" <nun...@wi...> To: <dyn...@li...> Sent: Wednesday, February 28, 2001 4:03 AM Subject: RE: [Re: [Re: [Dynapi-Dev] Dynamic Content Loading (IT WORKS)]] > The problem with cookies is that, though you can write them, > you can only read them again (and get a new value for instance) > only if you reload a page, so I don't think you can use them > to comunicate with the browser, without reloading the page. > > -----Original Message----- > From: dyn...@li... > [mailto:dyn...@li...]On Behalf Of Matthew A. > Shirey > Sent: sexta-feira, 23 de Fevereiro de 2001 19:10 > To: dyn...@li... > Subject: RE: [Re: [Re: [Dynapi-Dev] Dynamic Content Loading (IT WORKS)]] > > > When you create a cookie via server side script: > > VB ASP: > > Response.Cookies("Name") = "Value" > > This actually adds the headers to the web page that is served to the > client to create the cookies on the client. When you make a request for > a new web page the cookies that qualify are sent to the server along > with your request. This way when you want to access a cookie on the > server: > > VB ASP: > > x = Request.Cookies("Name") > > > The values are available to the server. > > As Doug mentioned this should not be confused with Session Variables, > Application Variables, or even some languages call them Server Side > Cookies. > > > -- Matthew > > -----Original Message----- > From: Doug Melvin [mailto:do...@cr...] > Sent: Friday, February 23, 2001 2:10 PM > To: dyn...@li... > Subject: Re: [Re: [Re: [Dynapi-Dev] Dynamic Content Loading (IT WORKS)]] > > > ANY cookie, regardless of who wrote it, is client-side (stored by the > browser) > But don't get cookies confused with session variables (ASP) > > ----- Original Message ----- > From: "Doc Oliver" <doc...@us...> > To: <dyn...@li...> > Sent: Friday, February 23, 2001 7:49 AM > Subject: Re: [Re: [Re: [Dynapi-Dev] Dynamic Content Loading (IT WORKS)]] > > > "Richard Bennett" <ma...@ri...> wrote: > > I thought client-side javascript couldn't read cookies written by a > > server-side app?? > > Richard. > > sure it can, a cookie is a cookie is a ... > > > ____________________________________________________________________ > Get free email and a permanent address at http://www.amexmail.com/?A=1 > > _______________________________________________ > Dynapi-Dev mailing list > Dyn...@li... > http://lists.sourceforge.net/lists/listinfo/dynapi-dev > > > --- > Outgoing mail is certified Virus Free by AVG Free Edition > Download at: http://www.grisoft.com/html/us_index.cfm > Checked by AVG anti-virus system (http://www.grisoft.com). > Version: 6.0.231 / Virus Database: 112 - Release Date: 2/12/01 > > > _______________________________________________ > Dynapi-Dev mailing list > Dyn...@li... > http://lists.sourceforge.net/lists/listinfo/dynapi-dev > > > > _______________________________________________ > Dynapi-Dev mailing list > Dyn...@li... > http://lists.sourceforge.net/lists/listinfo/dynapi-dev --- Outgoing mail is certified Virus Free by AVG Free Edition Download at: http://www.grisoft.com/html/us_index.cfm Checked by AVG anti-virus system (http://www.grisoft.com). Version: 6.0.231 / Virus Database: 112 - Release Date: 2/12/01 |
From: Richard B. <ma...@ri...> - 2001-02-24 04:11:20
|
Doc Oliver, This stuff is cool! I couldn't resist trying this, and it works! It seems quite logical when you think about it, why didn't I think of that! I put up an example here: Doc_Oliver_Examples Form_Submitting.html http://www.richardinfo.com/?menu=examples&node=18 It still has a few bugs, NS6 doesn't load second time, and displays the label much to big, NS4 sometimes gives errors, but these are more due to the form and image being nested in a layer than to the principle itself. I'll fix them later. Also I have to change the script so the cookie is deleted before it's written to again, otherwise it grows and grows. As my site isn't NS6/mac compatible yet, you can use this direct link to test these: http://www.resass.f2s.com/dynapi/Doc_Oliver_Examples/Form_Submitting.html I'm not saying this is better/worse than MP's java applet, of which I'll put up an example soon, it's just a nice alternative. Cheers, Richard Bennett ma...@ri... www.richardinfo.com (Everything running on, and ported to the 19/12/2000 snapshot of DynAPI2) Find the DynAPI faq here: http://sourceforge.net/docman/display_doc.php?docid=656&group_id=5757 Browse the mailinglist here: http://www.mail-archive.com/index.php3?hunt=dynapi ----- Original Message ----- From: "Doc Oliver" <doc...@us...> To: <dyn...@li...> Sent: Friday, February 23, 2001 3:05 AM Subject: Re: [Re: [Re: [Dynapi-Dev] Dynamic Content Loading (IT WORKS)]] > Michael Pemberton <mp...@ph...> wrote: > > the problem was that there was no method of downloading content AFTER the > page > > has been rendered. > > That's what I'm talking about, look: > > var tmpImg = new Image(); > tmpImg.src = 'site.php?name=donaldDuck&age=60; > > now 'site.php' can read 'name' and 'age', but can also send back data by > setting a cookie, see, an image request can be used to 'push' data to the > browser aswell. > > you could for example set a 'replyCookie=GUID' in the request, and then have > an intervall that look for that cookie, and then fires an event when it is > received. > > ____________________________________________________________________ > Get free email and a permanent address at http://www.amexmail.com/?A=1 > > _______________________________________________ > Dynapi-Dev mailing list > Dyn...@li... > http://lists.sourceforge.net/lists/listinfo/dynapi-dev > ____________________________________________________________ > Get your domain name and domain-based e-mail from > Namezero.com. New! Namezero Plus domains now available. > Find out more at: http://www.namezero.com > |
From: Michael P. <mp...@po...> - 2001-02-24 11:21:33
|
the only problem is that cookies are limited to 4k in size. this is not of much use for dynamic loading of email messages and other such file contents. Doc Oliver wrote: > Michael Pemberton <mp...@ph...> wrote: > > the problem was that there was no method of downloading content AFTER the > page > > has been rendered. > > That's what I'm talking about, look: > > var tmpImg = new Image(); > tmpImg.src = 'site.php?name=donaldDuck&age=60; > > now 'site.php' can read 'name' and 'age', but can also send back data by > setting a cookie, see, an image request can be used to 'push' data to the > browser aswell. > > you could for example set a 'replyCookie=GUID' in the request, and then have > an intervall that look for that cookie, and then fires an event when it is > received. > > ____________________________________________________________________ > Get free email and a permanent address at http://www.amexmail.com/?A=1 > > _______________________________________________ > Dynapi-Dev mailing list > Dyn...@li... > http://lists.sourceforge.net/lists/listinfo/dynapi-dev -- Michael Pemberton mp...@ph... ICQ: 12107010 |