Can sessions be turned off by my host provider?

PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!

Moderator: General Moderators

Locked
3dron
Forum Commoner
Posts: 40
Joined: Sat Feb 01, 2003 10:25 pm

Can sessions be turned off by my host provider?

Post by 3dron »

As in earlier topics I explained session did not seem to work. A simple test page revealed that it worked on another host but not my main one.

So could it be they disabled sessions? (and yes I used the full statement and not just $_SESSION)

Please help.

Ron
User avatar
volka
DevNet Evangelist
Posts: 8391
Joined: Tue May 07, 2002 9:48 am
Location: Berlin, ger

Post by volka »

possible but unlikely :?:
try

Code: Select all

<?php phpinfo(); ?>
there should be a section for sessions,e.g.

Code: Select all

session
Session Support            enabled

Directive                  Local Value   Master Value
session.auto_start            Off            Off
session.cache_expire          180            180
session.cache_limiter       nocache        nocache
...
User avatar
twigletmac
Her Royal Site Adminness
Posts: 5371
Joined: Tue Apr 23, 2002 2:21 am
Location: Essex, UK

Post by twigletmac »

Please stop creating new topics on the same question.

viewtopic.php?t=6519
viewtopic.php?t=6517

Keeping the topic in one thread makes it much easier for us to help you. If you want to bump your question (post a post within it just asking people to have a look again) that's fine but don't start a new topic.

Mac
Locked