The SitePoint Forums have moved.

You can now find them here.
This forum is now closed to new posts, but you can browse existing content.
You can find out more information about the move and how to open a new account (if necessary) here.
If you get stuck you can get support by emailing forums@sitepoint.com

If this is your first visit, be sure to
check out the FAQ by clicking the
link above. You may have to register
before you can post: click the register link above to proceed. To start viewing messages,
select the forum that you want to visit from the selection below.

register_globals on

I just checked in my host server and noticed they have php 4.2.3 and
register_globals is on.
In my scripts i use

PHP Code:

$_SERVER['PHP_SELF']

I'm posting this because in my testing environment everything is fine, but in my host, when i click in a submit button, looks like i loose the session (i've protected pages), i mean, i'm sent to login page again.
May this be the reason?
What can i do?

thanks for helping
the problem is:
i made this php site, and from my pc, it works fine; when i uploaded it to the web host, i started with these problems, so i guessed should be something related with sessions;
The site its adapted from K Yank's book and the protected pages from his article too...
I've 20 or 30 pages, so dont know where to start from...
Sometimes when i click in an input, other times just by clicking in a link, and here i am being sent to the login page again...
EDIT
i've a remember me checkbox, that stores username+password in cookies, and in this way i dont ever loose the session