PhpDig.net

Go Back   PhpDig.net > PhpDig Forums > Mod Requests

Reply
 
Thread Tools
Old 03-11-2004, 03:56 AM   #1
jbc
Green Mole
 
Join Date: Mar 2004
Posts: 2
Question 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
jbc is offline   Reply With Quote
Old 03-11-2004, 03:23 PM   #2
Charter
Head Mole
 
Charter's Avatar
 
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.
Charter is offline   Reply With Quote
Old 03-12-2004, 12:35 PM   #3
jbc
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 ?
jbc is offline   Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Forum Jump

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


All times are GMT -8. The time now is 02:37 PM.


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