Solved

Web Page Log on.

Posted on 2004-09-19
4
205 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 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

On Demand Webinar: Networking for the Cloud Era

Did you know SD-WANs can improve network connectivity? Check out this webinar to learn how an SD-WAN simplified, one-click tool can help you migrate and manage data in the cloud.

Question has a verified solution.

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

Does the idea of dealing with bits scare or confuse you? Does it seem like a waste of time in an age where we all have terabytes of storage? If so, you're missing out on one of the core tools in every professional programmer's toolbox. Learn how to …
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.
Simple Linear Regression
Six Sigma Control Plans

728 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