You say it started out as a regular source procedure, but then it sounds like you changed it to a NetWebSource...
So, you'd only need a netwebsource if you were actively gonna geneerate some html, and send that to the browser. It doesn't _sound_ like you're doing that, but I'm not sure.
If you aren't then just change it back to a normal source, but leave the prototype as is - ie including the p_web parameter.
If you need it to be a netWebSource, then it's better to pass the parameter in the Value queue, or session queue rather than as a parameter.
cheers
Bruce