Freepages-Help-L Archives

Archiver > Freepages-Help > 2009-04 > 1238750694


From: "Barry Carlson" <>
Subject: Re: [FreeHelp] Voting on site
Date: Fri, 3 Apr 2009 22:24:54 +1300
References: <8CB7BC309C1CCF0-A48-125C@mblk-d14.sysops.aol.com><87E7BCE649334DBDB1FC28DE094FED75@BERT><8CB7CA0588BAF22-638-2445@webmail-dh30.sysops.aol.com><0221BCE7A3CF44AA95546E6D92B572B8@BERT><7.0.1.0.2.20090327182347.00ed0430@att.net><8CB7D71B5ACB393-F14-20FC@WEBMAIL-MY02.sysops.aol.com><EF436A4F06F84D4F8818B5C8CBB34A24@BERT><8CB8078D7024744-B34-1F3C@mblk-d11.sysops.aol.com><65E40C58E2A14F72B942717BAE91EC34@BERT><8CB8227EC8250A1-1738-2844@Webmail-mg01.sim.aol.com>


On Friday, April 03, 2009 5:00 PM (UTC+13)
Caroline wrote:-

> This is looking very good, Barry, very neat. However I voted twice just
> now; once YES and returned to the previous page, then I looked at the
> source code, then voted NO and returned to previous page - tried to vote
> YES again, but got "you've already voted" - BUT then I couldn't go
> anywhere. Is it possible for the "already voted" message to automatically
> return to previous page?
>
> I'm going to have to spend quite some time trying just to begin to
> understand all that code!!!!
-------------------------
Caroline

Most things are possible - if time is not an issue!

Once you click the OK on the alert("You've already voted!) you should be
able use your webpage navigation to go wherever you desire. In the test
page, you entered via that page and clicking on Back Button will take you to
the last page, which in the case you mentioned is the Mail Merge Gateway
page.

Due to limitations around using the Cookie (Safari will not accept
JavaScript Cookies), I am currently working on parsing the last 6 digits of
the user's IP Address then sending that to the .txt file. Those 6 digits
will then be available to compare again when you click on Previous Page.
This is a simple method of emmulating a session Cookie. Will keep you
informed.

Barry


This thread: