Re: instant cookies?
This WebDNA talk-list message is from 1999
It keeps the original formatting.
numero = 23250
interpreted = N
texte = >> The cookie in the website should protect some sort of game, which is not>> allowed without a cookie. I can set the cookie on the homepage and look for>> it on the game-page. But then I must forbid bookmarking of the game-page.>> Easy play, I thought, just ask for the correct referer and redirect to the>> homepage in case the referer does not fit. Nope - this (damned) MS Explorer>> does not deliver a referer in a frameset, when the calling link is in a>> different frameset, so I have no chance to validate the referring link...At 22:25 Uhr 02.02.1999, Christer Olsson wrote:>Why do you have to forbid bookmarking? Isn't it enough with the cookie set?>If not, set a value you can check from time to time and send the visitor>back to your entry if his cookie doesn't fit your wanted value.At 17:04 Uhr 02.02.1999, Brian B. Burton wrote:>I don't know why you use the cookie for this,...This is some sort of sweepstakes and the user isn't allowed to play twicewithin 24 hours. I read the cookie and look for it in the database, wheredate and time of his last game ist stored. So I find out if he can play asecond time.At 17:04 Uhr 02.02.1999, Brian B. Burton wrote:>...>by making it a form (with a POST), the browser won't>properly bookmark it., then>if you come back to the page, the SHOWIT argument will validate>true, and back to the homepage they go!Good thinking - that was it. Thanks!Peter++++++++++++++++++++++++++++++++++++++++++++++++Peter Ostry - Vienna/Austria - www.ostry.comFon ++43-1-877 74 54 Fax ++43-1-877 74 54-21++++++++++++++++++++++++++++++++++++++++++++++++
Associated Messages, from the most recent to the oldest:
>> The cookie in the website should protect some sort of game, which is not>> allowed without a cookie. I can set the cookie on the homepage and look for>> it on the game-page. But then I must forbid bookmarking of the game-page.>> Easy play, I thought, just ask for the correct referer and redirect to the>> homepage in case the referer does not fit. Nope - this (damned) MS Explorer>> does not deliver a referer in a frameset, when the calling link is in a>> different frameset, so I have no chance to validate the referring link...At 22:25 Uhr 02.02.1999, Christer Olsson wrote:>Why do you have to forbid bookmarking? Isn't it enough with the cookie set?>If not, set a value you can check from time to time and send the visitor>back to your entry if his cookie doesn't fit your wanted value.At 17:04 Uhr 02.02.1999, Brian B. Burton wrote:>I don't know why you use the cookie for this,...This is some sort of sweepstakes and the user isn't allowed to play twicewithin 24 hours. I read the cookie and look for it in the database, wheredate and time of his last game ist stored. So I find out if he can play asecond time.At 17:04 Uhr 02.02.1999, Brian B. Burton wrote:>...>by making it a form (with a POST), the browser won't>properly bookmark it., then>if you come back to the page, the SHOWIT argument will validate>true, and back to the homepage they go!Good thinking - that was it. Thanks!Peter++++++++++++++++++++++++++++++++++++++++++++++++Peter Ostry - Vienna/Austria - www.ostry.comFon ++43-1-877 74 54 Fax ++43-1-877 74 54-21++++++++++++++++++++++++++++++++++++++++++++++++
Peter Ostry
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:
[WebDNA] [BULK] which of these tags exist in 7.0 (2011)
Solution help needed (1998)
[WebDNA] Domain upgrade questions (2009)
Using [random] (1999)
Why doesn't it change? (1998)
WebDNA's current version? (2003)
I'm Baaaaaaaaaack - Questions! (2000)
Opinion: [input] should be called [output] ... (1997)
[ot] Stopping Apple's Log Rolling (2004)
Frames and WebCat (1997)
Server capacity (2003)
Need relative path explanation (1997)
Getting Values into Cart the easy way?* (1998)
Cart doesn't interpret tag! (1997)
Identical [Replace] contexts, different results in different directories? (2000)
Hiring: Web programmer in Seattle area (2000)
Aaron kant add (or whatever it was) (2000)
[returnraw] and form variables (1998)
Text data with spaces in them... (1997)
Carat character in path (2001)