LinuxQuestions.org
Latest LQ Deal: Linux Power User Bundle
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 08-08-2005, 10:32 AM   #1
helpme0904
Member
 
Registered: Sep 2004
Posts: 45

Rep: Reputation: 15
apache php mysql and sessions


I have setup a https server and now I want to setup login access by using sessions. I am using simple code that will check the mysql database for the user then take user to another page by checking his session id information to ensure that a secure user views information. For some reason on my linux server it keeps creating a new session for each page. How can I stop this and make it so that only one session is used for the duration of the browser life. When I run the same code on my apache server on windows it works fine. Do I need to change something in my config files?

Please Help!!!

 
Old 08-08-2005, 03:24 PM   #2
david_ross
Moderator
 
Registered: Mar 2003
Location: Scotland
Distribution: Slackware, RedHat, Debian
Posts: 12,047

Rep: Reputation: 66
If you are tracking the sessions by cookies - have you made sure that your client is accepting them from that host?
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
PHP Sessions causing trouble in Apache 2 / SuSE 9.2 Spudley Linux - Software 1 06-08-2005 01:21 AM
Apache Mysql Php: mysql with php doesn't work breakerfall Linux - Networking 6 12-27-2003 08:59 PM
SQL mySQL PHP and Sessions poeta_boy Programming 15 11-26-2003 06:36 PM
Apache PHP and sessions Satriani Programming 0 04-21-2003 11:55 AM
php-nuke with apache php mysql c0c0deuz Linux - Software 0 03-30-2003 06:23 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 11:37 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration