473,238 Members | 1,801 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,238 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 1842
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...
3
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 3 Jan 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). For other local times, please check World Time Buddy In...
0
by: jianzs | last post by:
Introduction Cloud-native applications are conventionally identified as those designed and nurtured on cloud infrastructure. Such applications, rooted in cloud technologies, skillfully benefit from...
0
by: abbasky | last post by:
### Vandf component communication method one: data sharing ​ Vandf components can achieve data exchange through data sharing, state sharing, events, and other methods. Vandf's data exchange method...
2
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 7 Feb 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:30 (7.30PM). In this month's session, the creator of the excellent VBE...
0
by: stefan129 | last post by:
Hey forum members, I'm exploring options for SSL certificates for multiple domains. Has anyone had experience with multi-domain SSL certificates? Any recommendations on reliable providers or specific...
1
by: davi5007 | last post by:
Hi, Basically, I am trying to automate a field named TraceabilityNo into a web page from an access form. I've got the serial held in the variable strSearchString. How can I get this into the...
0
by: MeoLessi9 | last post by:
I have VirtualBox installed on Windows 11 and now I would like to install Kali on a virtual machine. However, on the official website, I see two options: "Installer images" and "Virtual machines"....
0
by: DolphinDB | last post by:
Tired of spending countless mintues downsampling your data? Look no further! In this article, youll learn how to efficiently downsample 6.48 billion high-frequency records to 61 million...
0
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...

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.