Topic awaiting preservation: Need more help... This time sessions... |
|
---|---|
Author | Thread |
Bipolar (III) Inmate From: New York, USA |
posted 12-28-2004 13:03
I managed to get a session to kinda start... code: <?php
code: $name = $_POST['name'];
code: <p class="chat">Name<br /><input type="text" name="name" value="<? echo $_SESSION['name']; ?>" id="name" /></p>
|
Paranoid (IV) Mad Scientist with Finglongers From: Germany |
posted 12-28-2004 13:40
well, if you got these lines on every single page, you are reseting it $_SESSION['name'] to NULL everytime you user does not post. |
Bipolar (III) Inmate From: New York, USA |
posted 12-28-2004 22:05
Alright, I did that and now it works like a charm. Thanks alot, Tyberius. |