To say that adult lactose digestion is similar to Portia's egg sac spotting abilities is to say that all spider's have an egg sac spotting gene and it's only expressed in the Portia species in a specific geographical area.
Maybe, but then we have an issue with the rest of spiders. If spiders have an egg sac spotting gene, is it inactive during certain times?
Actually you may be onto something, being able to spot an egg sac would be useful for a male to determine the receptiveness of a female to mating. Maybe the Portia spiders in the specific area have a mutation so they are always looking for egg secs, instead of just when a male is looking for a mate.