Okay hopefully one last thing.
How do I make it so that the session stays for a specific amount of time like a cookie? I looked and tried few things on php.net but I couldn’t seem to find out how to do it.
Thanks.
Search found 5 matches
- Tue Feb 03, 2004 9:08 pm
- Forum: PHP - Code
- Topic: Session & if question
- Replies: 7
- Views: 1169
- Fri Jan 30, 2004 7:21 pm
- Forum: PHP - Code
- Topic: Session & if question
- Replies: 7
- Views: 1169
And where would I put that code? Becuase I replaced it where session_start() was but it is giving me this error now: Warning: Trying to destroy uninitialized session in /home/break.php on line 2 Warning: Cannot add header information - headers already sent by (output started at /home/break.php:2) in...
- Fri Jan 30, 2004 6:41 pm
- Forum: PHP - Code
- Topic: Session & if question
- Replies: 7
- Views: 1169
- Fri Jan 30, 2004 4:41 pm
- Forum: PHP - Code
- Topic: Session & if question
- Replies: 7
- Views: 1169
- Thu Jan 29, 2004 9:45 pm
- Forum: PHP - Code
- Topic: Session & if question
- Replies: 7
- Views: 1169
Session & if question
Okay now I'm trying to setup my site to have 2 different layouts. Now currently the site is programmed in php. What I was thinking about doing was if someone wanted to change the layout they could simply click a link and it would set a cookie or I believe a session(?) as it's called in php. Now from...