That sounds like a problem with the way you handle sessions.
What happens is your program tries to start a session, but the page isn't
sent if a session isn't started. It still shouldn't reply with a 404
though...search your script for header and see if you send any.
Once someone has the session, then the page will load correctly.
Muck through your php code and see if there are any conditions or loops
which require a session to be running.
Still, that shouldn't happen and it's probably one of those bugs that you
can't figure out why they happen, or what causes them, but after tinkering
around suddenly everything works.
One thing to try, if it's available, is use the ob_* functions as a
debugger. Stick an obstart at the begining and a ob_end_flush at the end,
and see if the problem disappears magically.
Odd what sometimes fixes things...
--
Plutarck
Should be working on something...
...but forgot what it was.
""Mark"" <[EMAIL PROTECTED]> wrote in message
9b4ar1$t6i$[EMAIL PROTECTED]">news:9b4ar1$t6i$[EMAIL PROTECTED]...
> I have a php script which is like a modified shopping cart.
>
> It starts with a search that calls a perl script ( I know, but it's the
only
> way I can include certain proprietary functionality I need). This returns
a
> results set of documents that can be either downloaded or requested
> depending on permissions.
>
> If you click to request a document a php script request.php is called it
is
> sort of like a cart script, and uses phplib sessions and db_oci8.
>
> The strange problem I am having is this:
>
> If it is the first time you have reqeusted this script since last opening
> your browser, you will get a 404, if you hit back/forward or refresh the
> script works fine as if nothing ever happened. You will not get this
error
> again as long as you do not close and reopen your browser. Any ideas?
>
>
>
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> To contact the list administrators, e-mail: [EMAIL PROTECTED]
>
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]