Help answer threads with 0 replies.
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
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!


  Search this Thread
Old 08-08-2005, 11:32 AM   #1
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, 04:24 PM   #2
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?


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 02:21 AM
Apache Mysql Php: mysql with php doesn't work breakerfall Linux - Networking 6 12-27-2003 09:59 PM
SQL mySQL PHP and Sessions poeta_boy Programming 15 11-26-2003 07:36 PM
Apache PHP and sessions Satriani Programming 0 04-21-2003 12:55 PM
php-nuke with apache php mysql c0c0deuz Linux - Software 0 03-30-2003 07:23 AM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 11:07 PM.

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