473,396 Members | 2,098 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,396 software developers and data experts.

I am unable to start a session on my pages

I've put this code in a file that is included at the top of my page:

session_start();
echo SID;
echo "was there a sid ?";
The "was there a sid" shows up, but not the SID. Nor can I later get
the session id using session_id().

I thought maybe I was outputting some white space before these lines,
blocking the headers from being sent, but when I look in the error log,
there is only one error, and its unrelated:
[08-Apr-2006 18:53:01] PHP Warning: getwhatpage(): Failed opening
'showOneTag.php' for inclusion (include_path='.:/usr/share/pear') in
/home/httpd/vhosts/bluecasts.com/httpdocs/tagIndexLibrary.php on line
2243
[08-Apr-2006 19:09:38] PHP Warning: getwhatpage(showOneTag.php):
failed to open stream: No such file or directory in
/home/httpd/vhosts/bluecasts.com/httpdocs/tagIndexLibrary.php on line
2243
[08-Apr-2006 19:09:38] PHP Warning: getwhatpage(showOneTag.php):
failed to open stream: No such file or directory in
/home/httpd/vhosts/bluecasts.com/httpdocs/tagIndexLibrary.php on line
2243
[08-Apr-2006 19:09:38] PHP Warning: getwhatpage(): Failed opening
'showOneTag.php' for inclusion (include_path='.:/usr/share/pear') in
/home/httpd/vhosts/bluecasts.com/httpdocs/tagIndexLibrary.php on line
2243
Go here and let me know if you get a session number:

http://www.bluecasts.com/
Why would there be no SID???

Apr 8 '06 #1
1 1206
Isn't it session_id() not SID

Also if that doesn't fix it, make sure you have php_session installed
on your computer (on some packages it is an addin module for PHP)

Larry

Apr 9 '06 #2

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

Similar topics

1
by: Jimmy | last post by:
Hi, I was trying to debug two different ASP.NET projects at the same time. But I was only able to debug one of them and I got the following error for the other one: "Unable to start debugging...
31
by: Prabhat | last post by:
Hi All, The "Session_OnStart" event doesnot fire if the website has .htm file as the startup document. If I change the extension of the default document from ..htm to .asp then I can see the...
3
by: Gary K | last post by:
After a bit a trouble getting VS to create a project on a different web server (I forgot to apply the 'fix'), I get the following error when trying to debug my web application. Error while...
2
by: NG WEI CHUNG | last post by:
Hi, Some of my clients site is unable to view the ASP .NET page due to the proxy server and firewall or perhaps IE setting etc, I m not sure what is the actual cause of the problem, it display...
6
by: tshad | last post by:
I have an object I am unable to put in my session. I have others that have no problem. The difference is the the one I am having problems with was created in VS 2003. The others were created...
6
by: tshad | last post by:
I had asked about this before, but have been unable to solve the problem. Could this be a problem with Web Services? I have 4 web services that I reference in this object. There is only one...
0
by: Nachi | last post by:
I have installed SQL Server 2000 with VS 2005 - did not install SqlExpress\Sql 2005. I have a remote Sql Server Instance locally. The normal application connectes to this Sql Server. When I run...
0
by: BillE | last post by:
I get an intermittent error when I start a debug session for a vb.net web site which uses master/content pages: "Unable to cast object of type 'ASP.master' to type 'ASP.master'" I think this...
3
by: =?Utf-8?B?SmVmZnJleQ==?= | last post by:
Just started to test a VB.net 2002 project for ASP.net application. After successfully installed the VS.net 2002 and tested the IIS 5.1 on XP Pro SP2 for some classical ASP programs, I am starting...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
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
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
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
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
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,...

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.