You are here: Domain Redirect - loses session variables « PHP Programming Language « IT news, forums, messages
Domain Redirect - loses session variables

Posted by Vic Spainhower on 10/09/05 03:51

Hello,

I just purchased a new domain name and I've set it up as a redirect to a
folder on my main site. What is happening is the index.php page checks a
session variable to see if the user is logged on and if not it displays a
login screen. However, after loggin in it just keeps coming back to the
login screen because the session variables are getting lost.

I inserted "session_write_close()" prior to the header("Location:
Index.PHP) and it now is working on my developement computer but on 2 other
computers it is still just coming back to the login screen.

Is there something else I need to do??

Thanks very much,

Vic

 

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

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