PDA

View Full Version : Use PhpDig in an Intranet ???


Vince
03-14-2005, 01:53 AM
Hello,

I try to use PhpDig in an intranet but I meet a problem. My website use PHP Language and the user logs in at the beginning.

In all the webpages, I test if the session exists (To avoid a non authorised user to access all the content). I try to create my session in the 'index.php' page which is in the admin folder.When i display the content of the session in the 'search.php' page, all is great.

:squint: But, when i enter the url of my intranet, phpdig stays on the login page. In the Mysql database, the content of the page looks like :

Notice : Undefined index: mysession in C:\......

:bang: I am so surprised that when i click on the link which is in the 'search.php' page, i access my intranet with the session i created in phpdig.

Is there a way to transmit the session which is created in PHPDig ? Or, is there a way to identify PHPDig when it reffers my intranet to allow it to access all the page ?

Thank you for your answer ...

Charter
03-15-2005, 10:01 AM
Perhaps consider using the user-agent as in this (http://www.phpdig.net/forum/showthread.php?t=366) thread.