English 中文(简体)
net session clears php session
原标题:.net session clears php session

我在网站上有一个非常奇怪的情况,即网上会议似乎正在清理一个综合网站。

当网站的用户记录出现时,网上会议即开始,然后该代码上有一个网站,该网页将网站集到网站。 这一机构已经在许多地点开展工作,但新的发展地点刚刚赢得工作。

如果直接安排了网站,则会发挥作用,但当网上会议设立时,会取消网站。

该网站正在7号国际空间法研究所运行。

该法典:

v

Session("username") = "username"

php

session_start();
$_SESSION[ username ] = "username";

然后,我检查另一页。

if ( isset($_SESSION[ username ] ))

There is nothing else in the code that would be clearing any sessions. Has anyone ever experienced this? Is there a setting somewhere which could cause this in IIS7?

问题回答

• 两个快速问题:

  • You re running both PHP and ASP.net code on the same IIS7 Server with the same domain name?
  • by "and then the code then calls a php page which sets the php session" do you mean you redirect the browser to a php page?

会议通常通过厨师开展工作,这样一来就有一个良好的开端,就是在每一步之后看望浏览器。 d 我预计会看到两个厨师,一个是作为 as子的会议,另一个是关于实验室会议。





相关问题
Anyone feel like passing it forward?

I m the only developer in my company, and am getting along well as an autodidact, but I know I m missing out on the education one gets from working with and having code reviewed by more senior devs. ...

How to Add script codes before the </body> tag ASP.NET

Heres the problem, In Masterpage, the google analytics code were pasted before the end of body tag. In ASPX page, I need to generate a script (google addItem tracker) using codebehind ClientScript ...

Transaction handling with TransactionScope

I am implementing Transaction using TransactionScope with the help this MSDN article http://msdn.microsoft.com/en-us/library/system.transactions.transactionscope.aspx I just want to confirm that is ...

System.Web.Mvc.Controller Initialize

i have the following base controller... public class BaseController : Controller { protected override void Initialize(System.Web.Routing.RequestContext requestContext) { if (...

Microsoft.Contracts namespace

For what it is necessary Microsoft.Contracts namespace in asp.net? I mean, in what cases I could write using Microsoft.Contracts;?

Separator line in ASP.NET

I d like to add a simple separator line in an aspx web form. Does anyone know how? It sounds easy enough, but still I can t manage to find how to do it.. 10x!

热门标签