Header() page jump problem in php ci framework

高洛峰
Release: 2023-03-03 17:00:02
Original
1843 people have browsed it

When using the header function to jump, you can find the specified url and the page, but the page does not jump and the url remains unchanged. What is going on?
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
20f883e
role:student
this Is the original page to start

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, 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 to



For more articles related to the header() page jump problem in the PHP ci framework, please pay attention to the PHP Chinese website!

Related labels:
source:php.cn
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template
About us Disclaimer Sitemap
php.cn:Public welfare online PHP training,Help PHP learners grow quickly!