A session had already been started

Helpdesk for my helpdesk software

Moderator: mkoch227

Post Reply
teejayuu
Posts: 3
Joined: Fri Jun 22, 2007 6:14 pm

A session had already been started

Post by teejayuu »

Script URL: http://supportdesk.relate.org.uk/chl
Version of script: 2.2
Hosting company: Local
URL of phpinfo.php: http://supportdesk.relate.org.uk/chl/phpinfo.php
URL of session_test.php: http://supportdesk.relate.org.uk/chl/session_test.php
What terms did you try when SEARCHING for a solution:
session has expired, please login using the form below.
Write your message below:

Like other I am getting the 'Error: Your session has expired, please login using the form below.' message. The software was installed using IE8 on a Windows 2008 Server having II7 as a webserver.

I have cleared out IE's cache but still get the same message. Have accessing it from a different machine, but get the same message. Changing browser does work as I get the same message using Firefox.

Accessing session_test.php gives
Notice: A session had already been started - ignoring session_start() in C:\inetpub\wwwroot\chl\session_test.php on line 4
Session started successfully!
CLICK HERE FOR PAGE 2
IISRESET doesn't change anything either.

Any ideas as to what this may be?
Klemen
Site Admin
Posts: 10143
Joined: Fri Feb 11, 2005 4:04 pm

Re: A session had already been started

Post by Klemen »

The links you posted don't work, but I assume it's a session autostart problem. In other words - your server automatically starts sessions for PHP scripts.

Check inside your php.ini file, make sure session.auto-start is set to 0 (if not set it to 0 and restart the server).
http://www.php.net/manual/en/session.co ... auto-start
Klemen, creator of HESK and PHPJunkyardWas this helpful? You can buy me a drink here Image

Image You should follow me on Twitter here

Help desk software | Cloud help desk | Guestbook | Link manager | Click counter | more PHP Scripts ...

Also browse for php hosting companies, read php books, find php resources and use webmaster tools
teejayuu
Posts: 3
Joined: Fri Jun 22, 2007 6:14 pm

Re: A session had already been started

Post by teejayuu »

Thanks Klemen - worked a treat.
Post Reply