You are here: Access to the $_SESSION variable « PHP Programming Language « IT news, forums, messages
Access to the $_SESSION variable

Posted by bartdlr on 09/04/06 10:00

Hi,

I got a problem to access the $_SESSION variable in my script.

I wrote some login code: if the user logs in with his name and password
a user object is stored in the $_SESSION variable.

This all works fine , i can correctly read from that variable later on.

I have an old version of my site under a domain name and the new site
under another
domain name.
I wanted to link the domain name of the old site to the new one, but i
ain't got the data of that domain name (user name and password) so i
can't directly link it to the new site.

The 2 versions of the sites are also on different webspaces.

So i created a new index page on the old site. This page has a simple
frame in it wich loads the index of the new site, so far no problem,
but when i try to login it seems as if the $_SESSION variable is never
used.

Is this possible, and does anyone have an explication for this or a
solution?

regards
Bart

 

Navigation:

[Reply to this message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация