Does she use multiple browsers for your site? I think she is doing this.

I'm not sure if session "files" handler is using flock() or not. It could be
failing to open file, since file is locked. (I think it should lock file, since
it's possible to get length 0 file w/o it) This problem will not occur unless
someone accessing web site with multiple browsers that have the same session ID.
This is possible when cookie is used for session.

Since "files" handler is bundled, you have 2 options.

1) Modify "files" handler in session module.
2) Make your own session handler.   (If you use database, why not use the
database?)

Hope this helps,
--
Yasuo Ohgaki


"Maxim Maletsky" <[EMAIL PROTECTED]> wrote in message
DC017B079D81D411998C009027B7112A015ED114@EXC-TYO-01">news:DC017B079D81D411998C009027B7112A015ED114@EXC-TYO-01...
>
> hello guys...
>
> On one of our websites, where we use sessions, a funny error have happened.
>
> <err>
> Warning: open(/tmp/sess_b5ad1e0878dee63fa8a780df44af3ea7, O_RDWR) failed:
> File exists (17) in page.japaninc.inc on line 109
> </err>
>
> The funny side of it is that no one has ever seen it except our manager
> (what a luck) from his PC only. I guess, we developers, visit our art-work
> much more often than our manager...
>
> She's seen it twice already, first time was a month-two ago and now again. I
> ignored it the first time, I though - well, happens... But now I start to
> think it is a bit weird (and dangerous for carrier).
>
> Any of you have any idea why this "rare" error keeps happening on her
> browser and NEVER on any of developer's? (nor even any other employee of our
> 200> company ever complained)...
>
> What to fix?
>
> Sincerely,
>
> Maxim Maletsky
> Webmaster, J-Door.com / J@pan Inc.
> LINC Media, Inc.
> TEL: 03-3499-2175 x 1271
> FAX: 03-3499-3109
>
> [EMAIL PROTECTED]
>
> www.j-door.com
> www.japaninc.net
> www.lincmedia.co.jp
>
>
>
>
>
>


--------------------------------------------------------------------------------


> --
> 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]

Reply via email to