douning5041 2013-12-07 12:38
浏览 22

从被屏蔽的重定向URL访问站点时,$ _SESSION变量似乎不起作用

I'm redirecting a URL from the registrar. I have a login form on the page it is redirecting to using $_SESSION variables to store the username and password—which work great when visiting the site directly, or even from a subdomain. (test.com/new or new.test.com).

When I visit the site from "this.com", which redirects to "new.test.com", the login form seems to allow entry (I get no error that the credentials weren't passed correctly), but then nothing loads on the next page—similar to what happens when a php file is accessed in browser on a server.

If I log in to the normal site successfully (test.com/new), then open a new window and navigate to it using the redirected URL, it requires log in again, but when I do, it allows me in to the site. The page only shows up blank when I try to open it without logging in first from the normal URL.

Is there something I can set differently to allow this to work?

  • 写回答

0条回答 默认 最新

    报告相同问题?

    悬赏问题

    • ¥15 微信会员卡等级和折扣规则
    • ¥15 微信公众平台自制会员卡可以通过收款码收款码收款进行自动积分吗
    • ¥15 随身WiFi网络灯亮但是没有网络,如何解决?
    • ¥15 gdf格式的脑电数据如何处理matlab
    • ¥20 重新写的代码替换了之后运行hbuliderx就这样了
    • ¥100 监控抖音用户作品更新可以微信公众号提醒
    • ¥15 UE5 如何可以不渲染HDRIBackdrop背景
    • ¥70 2048小游戏毕设项目
    • ¥20 mysql架构,按照姓名分表
    • ¥15 MATLAB实现区间[a,b]上的Gauss-Legendre积分