开发者

Session transfer between asp.net and asp works in soome cases and in some cases not

I transfer session from asp.net to classic asp.

I use MSSQL DB for it.

I have

SomeWebPage.aspx - this page is asp.net which save sesion, after it, it call by redirect

SessionTransfer.aspx -this page save sessions to DB and call by redirect

SessionTransfer.asp - this page load session from DB and cal by redirect

SomeWebPage.asp - this page doesn't need now about other pages, it just use session.

Problem is, that it works only if SomeWebPage.aspx, SessionTransfer.aspx, SessionTransfer.asp and SomeWebPage.asp are in same folder, or in same "web pages" folder on iis.

How can i do it if SomeWebPage.asp will be in other web folder. On same IIS server, but it will be specific web?

I use IIS 5.1 for开发者_StackOverflow developing and finished program will run on IIS 6.0.


Problem was that it was different applications.

SessionTransfer.asp must be it same application like SomeWebPage.asp (it wasn't)

and

SessionTransfer.aspx must be it same application (pool) like SomeWebPage.aspx (it was)

It ws teddy-bear problem. When we start discus about this, i realized where is problem :-D

thanks amit_g

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜