Header () page jump problem in PHP CI framework

Source: Internet
Author: User
Use the header function to jump to find the specified URL can also find the page, but the page is not jump, the URL is not changed, this is how the matter
Request Url:http://localhost/login
Request Method:post
Status code:302
Request Headersview Source
accept:*/*
Accept-encoding:gzip,deflate,sdch
accept-language:zh-cn,zh;q=0.8
Connection:keep-alive
content-length:67
content-type:application/x-www-form-urlencoded
cookie:phpsessid=2k3ap23pdn68ecls5a1kgb8431
Host:localhost
Origin:http://localhost
referer:http://localhost/
user-agent:mozilla/5.0 (Windows NT 6.1) applewebkit/537.36 (khtml, like Gecko) chrome/29.0.1547.66 safari/537.36
X-requested-with:xmlhttprequest
Form Dataview sourceview URL encoded
Username:123
password:e10adc3949ba59abbe56e057f20f883e
Role:student
This is the beginning of the original page

Request Url:http://localhost/student/index
Request Method:get
Status code:200 OK
Request Headersview Source
accept:*/*
Accept-encoding:gzip,deflate,sdch
accept-language:zh-cn,zh;q=0.8
Connection:keep-alive
cookie:phpsessid=2k3ap23pdn68ecls5a1kgb8431
Host:localhost
referer:http://localhost/
user-agent:mozilla/5.0 (Windows NT 6.1) applewebkit/537.36 (khtml, like Gecko) chrome/29.0.1547.66 safari/537.36
X-requested-with:xmlhttprequest
Response Headersview Source
Connection:keep-alive
content-length:856
Content-type:text/html
Date:mon, 14:22:30 GMT
Keep-alive:timeout=5, max=99
server:apache/2.4.4 (WIN32) php/5.4.16
x-powered-by:php/5.4.16
This is the page to jump to



Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.