In theory, there is a way to force each mnogo indexer to use a 'static'
session ID (at least using several unix tools).

The basic algorithm would look something like this:

- Create a session (and register whatever session variables you're using).
- Rewrite indexer.conf to replace any session IDs found, with our new
session id, using sed/perl/whatever
- Run the indexer

If there is a demand for this, I think I could writeup a quick setup that
can do this. Ideally, it should be within the C code, but the speed
improvement using C vs Perl or shell scripts is very very small.


Let me know if you want me to develop it.


- Danish
--

On Wed, 30 Jan 2002, alahori wrote:

> Thanx...  It worked with higher version.. It seems it kills the
> session also.  The problem is that there is restricted access to my
> site, where usre details are stored in session and checked at every
> page.. it seems mnogo is not carrying the session unless sepecified...
> which is not possible in my case.. as our site contains roughly more
> than million of links.. Is there any way to assign a persistant
> session to indexer.. Thanx
>   ----- Original Message -----
>   From: Alexander Barkov
>   To: [EMAIL PROTECTED] ; alahori
>   Sent: Tuesday, January 29, 2002 5:05 PM
>   Subject: Re: regex problem
>
>
>   ReverseAlias works since 3.2.0.
>   You have to upgrade.
>
>   alahori wrote:
>
>   > Hi all,
>   >
>   > I am using mnogosearch-3.1.19.. The problem i am facing is of session
>   > ... my url are like
>   >
>   > http://mysite/mypage.php?sessionid=session_string
>   >
>   >
>   >
>   > since whenever indexer runs the session assigned to it is different and
>   > for same page different urls are created ... and finally gives me
>   > multiple search results for same text...
>   >
>   >
>   >
>   > let me clear it, say at time X url is
>   > http://mysite/mypage.php?sessionid=session_stringX
>   >
>   >
>   >
>   > and at time X+Hours url for the same text is
>   >
>   > http://mysite/mypage.php?sessionid=session_stringX+Hours
>   >
>   >
>   >
>   > The solution of this what i think is to remove the session portion from
>   > the url while indexing ..Docs says to use ReverseAlias. When I use this
>   > with proper regex indexer gives error at this line.
>   >
>   > I used this expression
>   >
>   > ReverseAlias regex(http://[^&]*)& <http://[^&]*)&>PHPSESSIONID=[^&]*(.*)
>   > $1$2
>   >
>   >
>   >
>   > I checked the lots of documentation and mailing lists, Finally came here
>   > with problem
>   >
>   > Please Help
>   >
>   >
>   >
>   > Thanx in Advance
>   >
>   > Ashish
>   >
>   >
>   >
>
>
>
>   --
>
>      bar
>
>   ___________________________________________
>   If you want to unsubscribe send "unsubscribe general"
>   to [EMAIL PROTECTED]
>
>

-- 
Danish Qadri
Systems Programmer
Globix Corporation
[EMAIL PROTECTED]


___________________________________________
If you want to unsubscribe send "unsubscribe general"
to [EMAIL PROTECTED]

Reply via email to