Closed Thread Icon

Topic awaiting preservation: semaphore? & sessions? (Page 1 of 1) Pages that link to <a href="" title="Pages that link to Topic awaiting preservation: semaphore? &amp;amp; sessions? (Page 1 of 1)" rel="nofollow" >Topic awaiting preservation: semaphore? &amp; sessions? <span class="small">(Page 1 of 1)</span>\

Bipolar (III) Inmate

From: Berlin, Germany
Insane since: Jan 2001

posted posted 03-19-2002 21:29

Are there some tutorials for using sessions/php?

Can anybody tell me what a semaphore file is? The referrers script at uses this file, but i have no idea what this could be...


Paranoid (IV) Mad Scientist

From: Omicron Persei 8
Insane since: Oct 2000

posted posted 03-19-2002 22:03

ok. im no expert at that, but i think semaphore is like a temporary memory. like a pipe or something like that. where more processes can access.
but this may be wrong.

for the session tutorial, i am also interested in one, cause they are a pain in the ass sometimes. especially when you have differently configured servers.

Obsessive-Compulsive (I) Inmate

Insane since: Mar 2002

posted posted 03-28-2002 13:35

Session Tut.... : 1. [
Session Tut in german.... :

Semaphore file....:

A semaphore is a non-negative integer count and is generally used to coordinate access to resources. The initial semaphore count is set to the number of free resources, then threads slowly increment and decrement the count as resources are added and removed. If the semaphore count drops to zero, which means no available resources, threads attempting to decrement the semaphore will block until the count is greater than zero.

But what its used for in your case... no idea...

Tschö mit ö sagt 2b

[This message has been edited by AKM2b (edited 03-28-2002).]

« BackwardsOnwards »

Show Forum Drop Down Menu