AllExperts > Experts 
Search      
E-Commerce, Web Businesses
Volunteer
Answers to thousands of questions
 Home · More Questions · Answer Library  · Encyclopedia ·
More E-Commerce, Web Businesses Answers
Question Library

Ask a question about E-Commerce, Web Businesses
Volunteer
Experts of the Month
Expert Login

Awards

About Us
Tell friends
Link to Us
Disclaimer

 
 
 
 
About Steve Valiquette
Expertise
Service providers and customers alike can benefit from my experience in establishing Service Level Agreements (SLAs), Call Center Support Procedures, Issues Management, Special Event Procedures, Disaster/Recovery Planning, Catastrophic Event Management, and day-to-day Server Farm issues. I also have significant experience in project management, project lifecycle planning and product development. I can contribute to many "how-tos" like: how to build a website, how to develop project management procedures, How to get the most from your hosting provider and much more.

Experience

Past/Present clients
Transitions Optical, IBM, Intel, Computer Sciences Corp, Imperial Chemical Industries, Victoria Secrets, Federal Bureau of Investigation, Bank of America, SEARS, State Street Bank, Peterson's CollegeQuest, Mobil Oil Corporation, Sprint PCS, MCI/Worldcom, UPS.

 
   

You are here:  Experts > Industry > Internet Technology > E-Commerce, Web Businesses > staying logged in

Topic: E-Commerce, Web Businesses



Expert: Steve Valiquette
Date: 12/26/2006
Subject: staying logged in

Question
I want people to be able to log into my site, but how do they stay logged in while navigating to different pages on the site? Do I use global variables? Cookies? How does it work?

Answer
Hi Greg,

If I remember correctly, you wanted to do the site in PHP, which I am not familiar with. Our shop is a Microsoft shop, so we program in .NET. Within .NET, their is a web.config file. In there, we set the session variables - normally to 20 minutes. The difference between a Session variable and cookies are: the Session variables are used to keep info intact throughout the current session. Cookies store infomation on the clients computer to be used in future sessions. Also, session variables don't rely on the client computer - and browser settings, which is nice!

Oh and please, keep rating my responses and thanks for the last one!

-- Steve

Add to this Answer    Ask a Question



  Rate this Answer
   Was this answer helpful?
Not at allDefinitely              
   12345  

     
About Us | Advertise on This Site | User Agreement | Privacy Policy | Help
Copyright  © 2008 About, Inc. About and About.com are registered trademarks of About, Inc. The About logo is a trademark of About, Inc. All rights reserved.