|
10-02-2005, 11:56 PM | #1 |
Green Mole
Join Date: Sep 2005
Posts: 1
|
a new question about phpdig and sessions
I am building a website using PhpDig for searches, and osCommerce for a shopping cart.
For the most part, both are working fine. The problem comes when a user is logged in (as a shopping cart user) and then executes a search. The results page looks fine, but if the user clicks on ANY link displayed in the results page, the page that is opened looses all session and cookie information. It appears that for some reason, that information is being cleared between displaying the results page and opening a page FROM the results page. Does anyone know of a way to prevent this? |
10-05-2005, 06:02 AM | #2 |
Head Mole
Join Date: May 2003
Posts: 2,539
|
PhpDig indexes content from a site that a r****m surfer can see. There are the following options in the config file to remove session IDs from URLs, but this is for any session ID that get assigned to PhpDig as it crawls a site:
Code:
define('PHPDIG_SESSID_REMOVE',true); define('PHPDIG_SESSID_VAR','PHPSESSID,s'); Code:
<input type="hidden" name="osCsid" value="osCommerce variable containing session ID goes here"> This all assumes that your users search from your osCommerce pages. As soon as a user does a direct search, there won't be a osCsid session ID around to pass into PhpDig unless you can set osCommerce to dump its session ID in a cookie.
__________________
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. |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Venue question.. | Dave A | The Mole Hole | 0 | 12-25-2005 12:53 AM |
allow_url_fopen question | cefiro | How-to Forum | 3 | 02-21-2005 01:14 PM |
phpnuke 7.5 question | chris44gw | Coding & Tutorials | 2 | 12-09-2004 10:36 AM |
can I do this, idiot question | 2catstango | How-to Forum | 0 | 10-18-2004 05:59 PM |
Question of the Day | Charter | The Mole Hole | 1 | 03-11-2004 08:50 PM |