Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > HTML > Re: reading a list and setting a cookie for posting privilige

Reply
Thread Tools

Re: reading a list and setting a cookie for posting privilige

 
 
Jerry Stuckle
Guest
Posts: n/a
 
      12-19-2008
Dave Kelly wrote:
> On my website when a viewer clicks on a navigation link to a certain
> page, I would like:
> 1. check if there is a cookie set identifing him
> 2. if there is to continue to the content of the page.
> 3. if no cookie is found pull up a page asking for an email address
> check that address against a list of email address for the
> membership
> if is a member set a cookie
> 4 if not explain that only members can post but everyone can read
>
> I am looking for this already done (why reinvent the wheel) Or at
> least the bits and pieces of code to cobble together this routine.
>
> I have been searching the web and found getcookie and setcookie but
> nothing on parsing/read file/list. What keywords should I be using for
> this search?
>
> TIA
> Dave


Most people use a database and a server-side language such as VBScript,
PHP or Perl for similar actions. Google for scripts in the language you
want.

And don't use cookies for security information.

--
==================
Remove the "x" from my email address
Jerry Stuckle
JDS Computer Training Corp.

==================
 
Reply With Quote
 
 
 
Reply

Thread Tools

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 Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
What is different between Request.Cookie and Response.Cookie ad ASP .Net 2 01-27-2006 12:54 PM
Cookie Question (IP as domain and cookie file location) =?Utf-8?B?UGF1bA==?= ASP .Net 1 01-10-2006 08:37 PM
POSTing username and password to web server with cookie enabled Paul Perl Misc 2 08-20-2005 11:47 AM
Cookie and Session Cookie Questions. Shapper ASP .Net 1 04-27-2005 11:20 AM
IE6 always rejects a particular cookie regardless of privacy/cookie setting Timur Tabi Javascript 1 05-14-2004 09:13 PM



Advertisments
 



1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57