Hello, everybody!

Today I write a little perl program to auto-login the website.
I can success to login, but I can't get the data of login after success login.
my code:
Code:
use strict;
use LWP::UserAgent;

my $browser = LWP::UserAgent->new;
my $resp = HTTP::Request->new(POST => 'http://www.tvboxnow.com/logging.php?action=login&loginsubmit=yes');
$resp->content_type('application/x-www-form-urlencoded');
$resp->content('loginsubmit=true&username=test&password=test');
my $response=$browser->request($resp)->as_string;

my $url="http://www.tvboxnow.com/index.php";

$resp = HTTP::Request->new(GET => $url);
print $browser->request($resp)->as_string;
I know I success login by $response this variable.
At last, I request new $url to get the 'index.php' data.
But I can't get the 'index.php' of login.
It was logout when I request the new page.
How can I solve this problem?