PhpDig.net

PhpDig.net (http://www.phpdig.net/forum/index.php)
-   How-to Forum (http://www.phpdig.net/forum/forumdisplay.php?f=33)
-   -   Use PhpDig in an Intranet ??? (http://www.phpdig.net/forum/showthread.php?t=1921)

Vince 03-14-2005 01:53 AM

Use PhpDig in an Intranet ???
 
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 :

PHP Code:

Notice Undefined indexmysession 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 thread.


All times are GMT -8. The time now is 01:10 PM.

Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright © 2001 - 2005, ThinkDing LLC. All Rights Reserved.