|
#1
|
|||
|
|||
|
I am using sessions to secure a section of my site.
The user logs in and a session variable is set: <? $_SESSION["user"]=array( "name"=>"Mr. Ed", "id" => "1"); ?> Then on each page I do a <? if(!isset($_SESSION["user"])){ echo "<script language=\"javascript\"> window.location = 'login.php'; </script>; } ?> The form works fine and then once I'm in the restricted area everything is okay, but I am randomly kicked back out to the log in page. The variables are being erased without reason? Any ideas? |
|
#2
|
|||
|
|||
|
there was a problem with the tmp directory.
|
|
#3
|
||||
|
||||
|
blemming, it sounds like you have worked this out, so I am closing this thread. If you have any additional problems, please open a new thread.
![]() -Justin |
![]() |
| Bookmarks |
«
Previous Thread
|
Next Thread
»
| Thread Tools | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| PHP Sessions Randomly Lose Variables | wisewolfe | Pre-Sales Questions | 1 | 08-21-2004 09:55 AM |
| [Closed] Email Down | JWright | Shared Hosting Support | 12 | 08-04-2004 04:22 PM |
| [Closed] Still Waiting... | lgsautohits.com | Shared Hosting Support | 2 | 06-11-2004 09:43 AM |
| [Closed] Unable to Access Site via Web, FTP | cybrosia | Shared Hosting Support | 1 | 06-08-2004 11:23 AM |
| [Closed] Problems on Porsche | amartins | Shared Hosting Support | 0 | 06-03-2004 05:30 AM |
All times are GMT -5. The time now is 11:05 AM.









