Solved

Web Page Log on.

Posted on 2004-09-19
4
206 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

Ready to get started with anonymous questions?

It's easy! Check out this step-by-step guide for asking an anonymous question on Experts Exchange.

Question has a verified solution.

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

Since upgrading to Office 2013 or higher installing the Smart Indenter addin will fail. This article will explain how to install it so it will work regardless of the Office version installed.
Today, the web development industry is booming, and many people consider it to be their vocation. The question you may be asking yourself is – how do I become a web developer?
In this seventh video of the Xpdf series, we discuss and demonstrate the PDFfonts utility, which lists all the fonts used in a PDF file. It does this via a command line interface, making it suitable for use in programs, scripts, batch files — any pl…
Progress

624 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