Solved

Web Page Log on.

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

Enabling OSINT in Activity Based Intelligence

Activity based intelligence (ABI) requires access to all available sources of data. Recorded Future allows analysts to observe structured data on the open, deep, and dark web.

Join & Write a Comment

Suggested Solutions

Title # Comments Views Activity
count8 challlenge 13 85
nestparen challenge 4 56
Non-recursive backtracking, using a stack 1 48
C Programming - If Statement 8 48
Entering a date in Microsoft Access can be tricky. A typo can cause month and day to be shuffled, entering the day only causes an error, as does entering, say, day 31 in June. This article shows how an inputmask supported by code can help the user a…
Whether you’re a college noob or a soon-to-be pro, these tips are sure to help you in your journey to becoming a programming ninja and stand out from the crowd.
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…
In this fifth video of the Xpdf series, we discuss and demonstrate the PDFdetach utility, which is able to list and, more importantly, extract attachments that are embedded in PDF files. It does this via a command line interface, making it suitable …

707 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

Need Help in Real-Time?

Connect with top rated Experts

15 Experts available now in Live!

Get 1:1 Help Now