Welcome to dbFreaks.com!
FAQFAQ    SearchSearch      ProfileProfile    Private MessagesPrivate Messages   Log inLog in

Authentication with cookies

 
   Database Help (Home) -> PHP RSS
Next:  How do I programmatically set focus to the first ..  
Author Message
David Ehmer

External


Since: Feb 22, 2005
Posts: 1



(Msg. 1) Posted: Tue Feb 22, 2005 4:40 am
Post subject: Authentication with cookies
Archived from groups: alt>comp>lang>php (more info?)

Hi

I'd like to limit access to some resources on a site unless a visitor
provides their email address. If they do provide an address, I'd prefer
they didn't have to re-enter it every time they entered that part of the
site.

Appreciate suggestions as to how this could best be achieved.

My initial thought was to display an input field upon the user selecting the
link to allow entry of their email address. Submitting would then allow
access and would send a cookie to the visitors's browser. Re-entering the
page after this by selecting the link would search for the cookie and allow
access directly if it was present.

Are there any tutorials or articles that could solve this problem?

Thanks
David

 >> Stay informed about: Authentication with cookies 
Back to top
Login to vote
vilain1

External


Since: Dec 17, 2004
Posts: 25



(Msg. 2) Posted: Tue Feb 22, 2005 1:01 pm
Post subject: Re: Authentication with cookies [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

this post is not archived.

 >> Stay informed about: Authentication with cookies 
Back to top
Login to vote
Display posts from previous:   
Related Topics:
Need help with cookies - I have a website and when users visit that site, I'd like to put a cookie on their computer. Then I'd like to retreive the cookie so I can actually view it. How would I go about doing that with php? BTW, I know nothing about php. I only know basic html....

cookies - How does one handle cookies!!! I have a login script and the user inputs the information but whats the point if I cannot save the stuff because the headers are already sent. I guess I have to create a page that the log in script will redirect too tha...

newbie cookies help please - i'm trying to do what i think is a simple cookie.. on first entrance to a web page.. it will play an intro index file.. whereas.. if there is a preexisiting cookie.. it will skip the intro and just go to the main index.. please help i been on this thing...

MSIE 7 and cookies - I have a username/sid pair for typical authentication. That is, for someone signing in under a given username, a sid is created, saved in both a cookie and the db on the server. This I am doing as follows: $timer = md5(time()); $sid =....

frames and cookies - I have a page, which writes a cookie, creating two frames. I have verified via Fireplug that the cookie is being written. In one of the frames, an attempt then is made to read the cookie. Therein, I have code to see if the cookie is set -- and it keep...
   Database Help (Home) -> PHP All times are: Pacific Time (US & Canada)
Page 1 of 1

 
You can post new topics in this forum
You can reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum



[ Contact us | Terms of Service/Privacy Policy ]