473,413 Members | 1,875 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,413 software developers and data experts.

Session Varible Problem

1
Hello Friends,
Currently we have transferred the site from one server to another.
I am having trouble with to access variables are posted on the server.
If I use $_POST or $SESSION to access variables it does work.
For the other sites on that server it is not the problem.
Do any know what would be the actual from problem with site we have just transferred?
Cheer…
Oct 16 '06 #1
1 1002
ronverdonk
4,258 Expert 4TB
One reason could be that you run a PHP version lower then 4.1.0, that is where $_POST, $_SESSION and others were introduced.

But since other sites on that same server work ok then either (a) the handling of these variables in your script(s) is incorrect or (b) there is another error in your php scripts (such as not initializing the $_SESSION or not $_POSTing).

Maybe all would be clearer when you show us (part of) your code that handles these arrays.

Ronald :cool:
Oct 16 '06 #2

Sign in to post your reply or Sign up for a free account.

Similar topics

3
by: Chewy509 | last post by:
Hi All, I'm having a small problem with sessions, or in particular some of the data is not being saved within the session data. To be exact, 1 variable from within an object is not being...
3
by: prash | last post by:
Hello all I have a strange problem at the moment .I use iis5 to do my asp pages with vb scripts when i set session("myvar")="anyvalue" in my first page i cannot read the session variable in...
0
by: farooq | last post by:
Hi guys, I’m facing some problem can u solve it. Problem is: I’m giving user Id and password in (Login_sess.asp) and submit it to page (sess_test.asp). I am setting session variable...
4
by: Ralph Krausse | last post by:
ViewState = "Bill"; -- This statement will send that to the browser and hash it into the __VIEWSTATE hidden varible Application = "Bill"; -- This statement will keep this info on the server ...
14
by: isaac2004 | last post by:
how would go about making a session timeout expire with a method like you can expire a cookie by going Date() - 1
9
by: Garry Jones | last post by:
Elsewhere on a form page I am declaring a variable ******************************* session_start(); $_SESSION = "sometext"; At the top of the page that will process the form code I have this...
0
by: Aarchaic | last post by:
Hello i have problem my session variables seem to disapear as i go along i've created this code to ilustrate whats happening First off i just post 3 detials like a name a age and a favourite...
0
by: Hrvoje Vrbanc | last post by:
Hello all, I have recently encountered a very strange problem: on every redirect from a codebehind page, sessions break. A varible is correctly stored in a session on a page and then, when a...
9
by: arial | last post by:
Hi all, I have problem with session variable on .net web form. I am saving ID in session to pull up the other .net web form it works fine with my development environment but as soon as I put...
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...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 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 a new...
0
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and...

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.