|
|||||||
![]() |
|
|
LinkBack | Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
|
#1 |
|
Member (7 bit)
Join Date: Jan 2002
Location: Barcelona
Posts: 85
|
validate right to vote
I'm trying to use cookies to check if the user is logged in but I'm totally confused about how to do this.
Where should I put the setcookie code? on the vote validation page or earlier (on the login validation page)? Basically i really need to see an example cos I've looked at the tutorials but can't figure out how to adapt it to what i need. WHat I want to do is check if they are logged in by looking for a cookie then check if they have already voted or not. I think I'm ok with reading cookies but where and how to set them is another matter. Thanks, Craig. |
|
|
|
|
|
#2 |
|
Staff
Premium Member
Join Date: Jul 1999
Location: Arlington, TN
Posts: 5,538
|
How is the page built, PHP, CGI, ASP?
|
|
|
|
|
|
#3 |
|
Member (7 bit)
Join Date: Jan 2002
Location: Barcelona
Posts: 85
|
php - sorry I forgot to mention that.
|
|
|
|
![]() |
| Bookmarks |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|