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 |