Go Back   PCMech Forums > Help & Discussion > Web Design / Development

Need Some Help? Type Your Keywords Here:

Reply
 
LinkBack Thread Tools Search this Thread Rate Thread Display Modes
Old 05-05-2003, 09:49 AM   #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.
craigtaylor74 is offline   Reply With Quote
Old 05-05-2003, 10:05 AM   #2
Staff
Premium Member
 
mairving's Avatar
 
Join Date: Jul 1999
Location: Arlington, TN
Posts: 5,538
How is the page built, PHP, CGI, ASP?
mairving is offline   Reply With Quote
Old 05-05-2003, 10:07 AM   #3
Member (7 bit)
 
Join Date: Jan 2002
Location: Barcelona
Posts: 85
php - sorry I forgot to mention that.
craigtaylor74 is offline   Reply With Quote
Reply

Bookmarks

Still Need Help? Type Your Keywords Here:


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is On
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT -5. The time now is 07:59 AM.
Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2012, vBulletin Solutions, Inc.
SEO by vBSEO 3.6.0 PL2