|
03-11-2004, 03:56 AM | #1 |
Green Mole
Join Date: Mar 2004
Posts: 2
|
Cookie management
Hi all,
I am using phpdig on a web site divided in different parts : public, private, admin, ... The authentication macanism is based on a cookie named SID (php session id). My project is to index automatically the whole site using the following process : - a batch create a session on the portail - the same batch sends the SID value to the spide.php script - the spider.php uses the ?SID=<value_sent_by_script> of Header:Cookie SID=<value_sent_by_script > for every requests sent to the site. Any idea how to implement it in the code ? Thanx jb |
03-11-2004, 03:23 PM | #2 |
Head Mole
Join Date: May 2003
Posts: 2,539
|
Hi jbc, and welcome to PhpDig.net!
Perhaps this thread might help, or are you looking to have PhpDig actually do the authentication?
__________________
Responses are offered on a voluntary if/as time is available basis, no guarantees. Double posting or bumping threads will not get your question answered any faster. No support via PM or email, responses not guaranteed. Thank you for your comprehension. |
03-12-2004, 12:35 PM | #3 |
Green Mole
Join Date: Mar 2004
Posts: 2
|
Thanks for helping ;-)
What I whant to do is to add an extra option to the spider.php crawler : this option will contain a string like "SID=202ab26bc69" and will be sent as a cookie by phpdig while it is browsing a site. for instance : spider.php http://www.mysite.com "SID=jqgjgqsg" will send the header Cookie: SID=jqgjgqsg for every sent to www.mysite.com Any idea or patch to use ? |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Cookie Jar | cstr1 | Script Installation | 1 | 10-09-2006 11:05 PM |
Indexing cookie/session authenticated pages | tester | Troubleshooting | 10 | 08-18-2004 10:57 AM |