Header () page jump in phpci framework

Source: Internet
Author: User
When you use the header function to jump, you can find the specified url to find the page, but the page does not jump, the url remains unchanged. what is the problem: RequestURL: localhostloginRequestMethod: POSTStatusCode: 302 RequestHeadersviewsourceAccept: ** Accept-Encoding: gzip, deflate, sdchAccept-Language: zh-CN, zh; q0.8Connection: keep-... php

When you use the header function to jump, you can find the specified url and also find the page, but the page does not jump, the url remains unchanged. what is the problem?
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 initial page

Request URL: http: // localhost/student/index
Request Method: GET
Status Codes: 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, 18 Nov 2013 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

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.