Re: [OT] Discussion forum, last visit, Cookie, ...

This WebDNA talk-list message is from

2003


It keeps the original formatting.
numero = 46627
interpreted = N
texte = Dan Strong wrote: > Hey, no fair talking about [code] in code! ;) > -DanWoops! Sorry, I thought I sent this offlist.Reviewing my suggestions, I don't think they were too helpful anyway, but since you insist: Basically what I said was that he would need a separate cookie to keep track of the forum visits - in other words he can't expect the basic logon cookie to manage this task as well. Then there's the problem of both setting and reading the same cookie within a single document. Lots of ways to work around that problem, but usually it should enough to just put the [SETCOOKIE] command towards the end of the document - after the [GETCOOKIE] command(s).Finally I complimented Palle for creating a wonderful site (it is - and in a language people can understand too, for a change ;-) and told him I had signed up as a member.Frank Nordberg http://www.musicaviva.com > > On Fri, 03 Jan 2003 00:25:37 > Frank Nordberg wrote: > >> >> >> Palle Bo Nielsen wrote: >> >>> >>> Example: How can I determine when the user last visited the >>> discussion forum? Theoretically he's last visit could have been >>> yesterday. But how can I determine that it was yesterday, if he has >>> visited another page on the discussion forum, then he's cookie would >>> have been refreshed then and not set to yesterday. >> >> >> Jeg er ikke helt sikker på om jeg følger deg her. >> Men er ikke det bare å legge inn en egen [SETCOOKIE]-kode kun på den >> ene siden? Du må selvfølgelig bruke en egen cookie som kun har den ene >> funksjonen, og du må passe litt på hvor på siden du legger inn koden, >> siden du jo skal lese av den gamle verdien først. >> >> Flott side, forresten. Har registrert meg som medlem og vil nok komme >> på besøk ofte :-) >> >> Frank Nordberg >> http://www.musicaviva.com >> >> >> ------------------------------------------------------------- >> This message is sent to you because you are subscribed to >> the mailing list . >> To unsubscribe, E-mail to: >> To switch to the DIGEST mode, E-mail to >> >> Web Archive of this list is at: http://webdna.smithmicro.com/ > > > ------------------------------------------------------------ > http://www.StrongGraphicDesign.com > (208) 319-0137 | Toll-free p/f 877-561-1656 > ------------------------------------------------------------ > > ------------------------------------------------------------- > This message is sent to you because you are subscribed to > the mailing list . > To unsubscribe, E-mail to: > To switch to the DIGEST mode, E-mail to > > Web Archive of this list is at: http://webdna.smithmicro.com/ > > > ------------------------------------------------------------- This message is sent to you because you are subscribed to the mailing list . To unsubscribe, E-mail to: To switch to the DIGEST mode, E-mail to Web Archive of this list is at: http://webdna.smithmicro.com/ Associated Messages, from the most recent to the oldest:

    
  1. Re: [OT] Discussion forum, last visit, Cookie, ... (Kenneth Grome 2003)
  2. Re: [OT] Discussion forum, last visit, Cookie, ... (Frank Nordberg 2003)
  3. Re: [OT] Discussion forum, last visit, Cookie, ... (Dan Strong 2003)
  4. Re: [OT] Discussion forum, last visit, Cookie, ... (Frank Nordberg 2003)
  5. Re: [OT] Discussion forum, last visit, Cookie, ... (Palle Bo Nielsen 2003)
  6. Re: [OT] Discussion forum, last visit, Cookie, ... (Clint Davis 2003)
  7. [OT] Discussion forum, last visit, Cookie, ... (Palle Bo Nielsen 2003)
Dan Strong wrote: > Hey, no fair talking about [code] in code! ;) > -DanWoops! Sorry, I thought I sent this offlist.Reviewing my suggestions, I don't think they were too helpful anyway, but since you insist: Basically what I said was that he would need a separate cookie to keep track of the forum visits - in other words he can't expect the basic logon cookie to manage this task as well. Then there's the problem of both setting and reading the same cookie within a single document. Lots of ways to work around that problem, but usually it should enough to just put the [SETCOOKIE] command towards the end of the document - after the [GETCOOKIE] command(s).Finally I complimented Palle for creating a wonderful site (it is - and in a language people can understand too, for a change ;-) and told him I had signed up as a member.Frank Nordberg http://www.musicaviva.com > > On Fri, 03 Jan 2003 00:25:37 > Frank Nordberg wrote: > >> >> >> Palle Bo Nielsen wrote: >> >>> >>> Example: How can I determine when the user last visited the >>> discussion forum? Theoretically he's last visit could have been >>> yesterday. But how can I determine that it was yesterday, if he has >>> visited another page on the discussion forum, then he's cookie would >>> have been refreshed then and not set to yesterday. >> >> >> Jeg er ikke helt sikker på om jeg følger deg her. >> Men er ikke det bare å legge inn en egen [SETCOOKIE]-kode kun på den >> ene siden? Du må selvfølgelig bruke en egen cookie som kun har den ene >> funksjonen, og du må passe litt på hvor på siden du legger inn koden, >> siden du jo skal lese av den gamle verdien først. >> >> Flott side, forresten. Har registrert meg som medlem og vil nok komme >> på besøk ofte :-) >> >> Frank Nordberg >> http://www.musicaviva.com >> >> >> ------------------------------------------------------------- >> This message is sent to you because you are subscribed to >> the mailing list . >> To unsubscribe, E-mail to: >> To switch to the DIGEST mode, E-mail to >> >> Web Archive of this list is at: http://webdna.smithmicro.com/ > > > ------------------------------------------------------------ > http://www.StrongGraphicDesign.com > (208) 319-0137 | Toll-free p/f 877-561-1656 > ------------------------------------------------------------ > > ------------------------------------------------------------- > This message is sent to you because you are subscribed to > the mailing list . > To unsubscribe, E-mail to: > To switch to the DIGEST mode, E-mail to > > Web Archive of this list is at: http://webdna.smithmicro.com/ > > > ------------------------------------------------------------- This message is sent to you because you are subscribed to the mailing list . To unsubscribe, E-mail to: To switch to the DIGEST mode, E-mail to Web Archive of this list is at: http://webdna.smithmicro.com/ Frank Nordberg

DOWNLOAD WEBDNA NOW!

Top Articles:

Talk List

The WebDNA community talk-list is the best place to get some help: several hundred extremely proficient programmers with an excellent knowledge of WebDNA and an excellent spirit will deliver all the tips and tricks you can imagine...

Related Readings:

Help name our technology! I found it (1997) [fileinfo . . .] (2000) Webcat causing crashes left and right! (1997) RAM problems, [appendfile] problems (1998) Calendar (1997) Linux ODBC and the ODBC Bridge (2000) WebCat hosting providers? (1997) A little syntax help (1997) Exists? (1997) [WebDNA] WebDNA 7 multiple fcgid processes (2012) Country & Ship-to address & other fields ? (1997) [isfolder] and [filename] (1997) combining strings (1997) Plugin or CGI or both (1997) Sorry I didn't pay attention-but ??? (1997) Date Formats (1997) WebCatalog for guestbook ? (1997) textarea input- nevermind (2002) Bug Report, maybe (1997) [search] & [encrypt]/[decrypt] (2001)