473,385 Members | 1,536 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,385 software developers and data experts.

Sessions Problem

I have a protected administrator page. I made it using sessions. I test it
using my PC and it works perfect.When I upload it to the server, it does not
work because it does not remember the seasons. I do not know how to fix it.
Does anybody know what's wrong with the server????? Do I have to change
something so that the server will be able to recognize the sessions that I
use in my script????
Jul 17 '05 #1
3 1851
Pitaridis Aristotelis wrote:
I have a protected administrator page. I made it using sessions. I test it
using my PC and it works perfect.When I upload it to the server, it does
not work because it does not remember the seasons. I do not know how to
fix it. Does anybody know what's wrong with the server????? Do I have to
change something so that the server will be able to recognize the sessions
that I use in my script????


hi,

first thing to check is php.ini.

Could be many reasons why they do not work, eg:
You autostart session on your homemachine, but on the server not.

Compare the session section in both php.ini files.

Regards,
Erwin Moller
Jul 17 '05 #2
I compared the two php.ini files and there is not any difference. What else
should I check??

Thanks in advance
Aristotelis

"Erwin Moller"
<si******************************************@spam yourself.com> wrote in
message news:42*********************@news.xs4all.nl...

Pitaridis Aristotelis wrote:
I have a protected administrator page. I made it using sessions. I test it using my PC and it works perfect.When I upload it to the server, it does
not work because it does not remember the seasons. I do not know how to
fix it. Does anybody know what's wrong with the server????? Do I have to
change something so that the server will be able to recognize the sessions that I use in my script????


hi,

first thing to check is php.ini.

Could be many reasons why they do not work, eg:
You autostart session on your homemachine, but on the server not.

Compare the session section in both php.ini files.

Regards,
Erwin Moller

Jul 17 '05 #3
Did you set the path for sessions, it has to be writeable also,
something like /tmp!

Look for this vars and values
session.save_handler = files
session.save_path = /tmp

Ovidiu

http://www.DevPlug.com --Connecting Developers
Posted from: http://www.devplug.com/ftopic23264.htm
Jul 17 '05 #4

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

13
by: jing_li | last post by:
Hi, you all, I am a newbee for php and I need your help. One of my coworker and I are both developing a webpage for our project using php. We have a copy of the same files in different location...
22
by: Theo | last post by:
Question for the group The authentication system for the site Im working on seems to function properly and all is good. A session keeps track of everything and a cookie is used to accept or deny...
9
by: Bartosz Wegrzyn | last post by:
I need help with sessions. I createt set of web site for nav with authorization. first I go into main.php which looks like this: <?php //common functions include_once '../login/common.php';...
3
by: Maxime Ducharme | last post by:
Hi group We have a problem with sessions in one of our sites. Sessions are used to store login info & some other infos (no objects are stored in sessions). We are using Windows 2000 Server...
6
by: Paul | last post by:
Hi all, I seem to been having a problem with sessions. I have a session in the login page Session("UserLevel") = (MM_rsUser.Fields.Item("Accesslevel").Value) which doesn't seem to be visible...
12
by: D. Shane Fowlkes | last post by:
This is a repost (pasted below). Since my original post, I've double checked the system clock and set all IIS Session Timeout values to 10 minutes. Still ...the problem occurs. I've also...
6
by: Daniel Walzenbach | last post by:
Hi, I have a web application which sometimes throws an “out of memory” exception. To get an idea what happens I traced some values using performance monitor and got the following values (for...
1
by: Duncan | last post by:
I have a strange problem with sessions in PHP 5. I have a simple script that prints a random number both as a string and a picture on the screen. When I run the script for the first time, it works...
3
by: AlonR | last post by:
Hi, We're experiencing random user sessions losses on our web applications, and are researching for any useful information which may shed light on this problem. Environment: In our...
7
by: pek | last post by:
OK, I've been having this problem for quite some time but never until now I really needed a solution. I have never thought of a work around, so I really need your help. Sorry if this has been...
1
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome former...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.