Closed Thread Icon

Topic awaiting preservation: semaphore? & sessions? (Page 1 of 1) Pages that link to <a href="https://ozoneasylum.com/backlink?for=12129" 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>\

 
u-neek
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 http://littlegreenfootballs.com/weblog/ uses this file, but i have no idea what this could be...

Thanks.

GRUMBLE
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.

AKM2b
Obsessive-Compulsive (I) Inmate

From:
Insane since: Mar 2002

posted posted 03-28-2002 13:35

hi
Session Tut.... : 1. [http://www.devshed.com/Server_Side/PHP/Sessions/page3.html
2. http://www.zend.com/zend/tut/session.php
Session Tut in german.... : http://www.php-resource.de/tutorials.php?show=20020225_sess_p1.php


Semaphore file....:

DESCRIPTION
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