Solved

Web Page Log on.

Posted on 2004-09-19
4
201 Views
Last Modified: 2010-04-17
Hello experts,

I am new to web page developing and I have created a few pages that are hyperlinked together.  Each page can query, add, delete or update records in a DB.  On each page the user must enter their UserName and Password along with their database values to ammend a record.  The page will validate the username and password and upate/delete/add/whatever the corrisponding record.  

What I would like, is for the user to Log into a Home Page and then not have to log in again during their session.  <--- this is how most pages work if I am not mistaken.  I may be able to acomplish this with just the basic ideas behind how one would do this.  But, I do need some detail about the concepts.

Thank you,

-TH
0
Comment
Question by:travishaberman
  • 2
  • 2
4 Comments
 
LVL 36

Expert Comment

by:Zyloch
ID: 12097756
Hi travishaberman,

Mainly, you use a session cookie.

It usually depends on what server-side language you use to determine how to proceed, but for instance, PHP has session_start(); and stuff...

Regards,
Zyloch
0
 

Author Comment

by:travishaberman
ID: 12097784
A cookie is it?  I have never really been quite clear on what those are.  Could you explain a bit more nad tell me how I might impliment this cookie?

Thank you,

-TH
0
 
LVL 36

Accepted Solution

by:
Zyloch earned 500 total points
ID: 12097806
Yes, cookies, but more specifically, session cookies.

A cookie is something that you can store on the user's computer so that the next time they visit your site, you can check it for a value or something. For instance, those Remember Me features use a long-term cookie. They set an expire date and then next time you visit there. If the expire date isn't up, and the cookie is there, you can be sure the user has remember me on.

Session cookies, meanwhile, only stay for the session, meaning after the last browser window is closed, poof, it goes, goodbye. Most also store session information in a database for more security.


To set a cookie, different languages have different methods, even Javascript has it's own way, can you specify which language you're using?

Regards...
0
 

Author Comment

by:travishaberman
ID: 12097896
That is what I needed....

Thank you,

-TH
0

Featured Post

Gigs: Get Your Project Delivered by an Expert

Select from freelancers specializing in everything from database administration to programming, who have proven themselves as experts in their field. Hire the best, collaborate easily, pay securely and get projects done right.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

This is about my first experience with programming Arduino.
In this post we will learn how to connect and configure Android Device (Smartphone etc.) with Android Studio. After that we will run a simple Hello World Program.
Viewers will learn how to properly install Eclipse with the necessary JDK, and will take a look at an introductory Java program. Download Eclipse installation zip file: Extract files from zip file: Download and install JDK 8: Open Eclipse and …
In this fourth video of the Xpdf series, we discuss and demonstrate the PDFinfo utility, which retrieves the contents of a PDF's Info Dictionary, as well as some other information, including the page count. We show how to isolate the page count in a…

776 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question