$_SESSION
| From: | Dennis Koot | Date: | Fri, 02 Jul 2004 08:08:54 +0000 |
| Subject: | $_SESSION | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-189528@lists.php.net to get a copy of this message | ||
Hello all,
i have a question concerning the $_SESSION stuff.
i have a domain registered with online webspace on this webspace i have put a litte bit of code that
will send the visitor's of the website to my server using a frame. I open one frame full-screen
size and i let it open MY_IP/base/index.php as page.
i then have a login page which uses $_SESSION and which sends you to either MY_IP/login1/index.php
or MY_IP/login2/index.php depending on your username. (which are stored in mysql)
this all works fine. i get redirected to the right page and all. but then on the new page the
session doesn't work anymore.
so the user gets a error for not being logged in and returns to the login page at /base
AND here's the strange thing.. when i open it using the http://MY_IP
link it all works great.
it just doesn't when i use the frame via my hosting provider. So i tried to make a fram on my
site which is exactly the same as the frame at the hosting provider. And it all works great aswell.
just not when i place the frame at my Hosting Prov.
has anybody got a clue how to do this?
thanx
Dennis