Closed Thread Icon

Topic awaiting preservation: PHP: sessions (Page 1 of 1) Pages that link to <a href="https://ozoneasylum.com/backlink?for=12026" title="Pages that link to Topic awaiting preservation: PHP: sessions (Page 1 of 1)" rel="nofollow" >Topic awaiting preservation: PHP: sessions <span class="small">(Page 1 of 1)</span>\

 
GRUMBLE
Paranoid (IV) Mad Scientist

From: Omicron Persei 8
Insane since: Oct 2000

posted posted 01-30-2002 13:11

ok, i never really worked with sessions before, here is my try:

if (!isset($HTTP_SESSION_VARS['isExpanded'])) {
$HTTP_SESSION_VARS['isExpanded']=0;
}

if ($collapser) {
if ($HTTP_SESSION_VARS['isExpanded']==1) $HTTP_SESSION_VARS['isExpanded']=0;
else $HTTP_SESSION_VARS['isExpanded']=1;
}

depending on $collapser the isExpanded sess-var should change between 0 and 1. but it is always 0...

GRUMBLE
Paranoid (IV) Mad Scientist

From: Omicron Persei 8
Insane since: Oct 2000

posted posted 01-30-2002 15:47

meanwhile i figured it out using: session_start()

nevermind.

Xdreamer.ch
Maniac (V) Inmate

From: Switzerland
Insane since: Mar 2001

posted posted 01-30-2002 15:48

hehe learning by doing rulez ;-)

cu
~Xdreamer.ch~
-------------------------------
to stupid for transparent sigs

« BackwardsOnwards »

Show Forum Drop Down Menu