AboutSteve 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.
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!