ASP会话不能正常工作 [英] ASP Sessions not working live
问题描述
您好,
我在使用会话来控制访问某个页面的ASP登录时遇到问题。然而,会话没有使用response.redirect在
上进行。
我意识到这是DNS名称和IP地址不同的情况
是否有效,但是我怎样才能在互联网上使用会话?
互联网?希望你们可以帮助
Ta
-
Guy
www.bradflack.com
请在发送电子邮件之前从我的
电子邮件地址中删除ANTI和垃圾邮件。
你是否回复。转发到另一个域?你的重定向
是什么样子的?
Ray在工作
Guy Hocking" < gu*@ANTIbradflack.SPAMcom>在消息中写道
新闻:Oj ************** @ TK2MSFTNGP12.phx.gbl ...你好,
我在使用会话控制对某些页面的访问权限的ASP登录时遇到问题。然而,使用response.redirect会话并没有进行。
我意识到DNS名称和IP地址是否有所不同
是否有效,但是怎么能我在网上使用会话
?并让他们工作>?
希望你们能帮忙
Ta
-
Guy
> www.bradflack.com
请删除ANTI和垃圾邮件我发送电子邮件之前的电子邮件地址。
****
如果不是RecordSet.EOF然后
Dim struserLevel,strUName
struserLevel = RecordSet.Fields(" UserLevel")
strUName = RecordSet.Fields(" ; UName")
会话(" UserLevel")= cint(struserLevel)
会话(&UName)= strUName
回复.Redirect(" admin3 / admin.asp")
****
根本不在另一个域中,在子文件夹中相同的网站,但
重定向工作,它的会话不会得到承载
-
盖伊
www.bradflack.com
请在发送之前从我的
电子邮件地址中删除ANTI和垃圾邮件给我发电子邮件。
" Ray at<%= sLocation%>" < myfirstname at lane34 dot com>在消息中写道
新闻:eF ************* @ TK2MSFTNGP12.phx.gbl ...你是否回复。一个不同的域名?你的
重定向是什么样的?
Ray在工作中
Guy Hocking < gu*@ANTIbradflack.SPAMcom>在消息中写道
新闻:Oj ************** @ TK2MSFTNGP12.phx.gbl ...你好,
访问某些页面的ASP登录时遇到问题。然而,在使用response.redirect时,会话没有被携带超过
。
我意识到这是DNS名称和IP地址在是否有效时变化
的情况,但是怎么能我使用会话
住在互联网?并让他们工作>?
希望你们能帮忙
Ta
-
Guy
> www.bradflack.com
请删除ANTI和垃圾邮件我发送电子邮件之前的电子邮件地址。
如果您已定义目录作为IIS中自己的应用程序,会话
信息将无法携带。这是我猜测为什么会话数据不是
携带,假设'是'正在发生什么。
http://www.aspfaq.com/show.asp?id=2157 其他原因。
雷在工作
Guy Hocking" < gu*@ANTIbradflack.SPAMcom>在消息中写道
新闻:美国************** @ TK2MSFTNGP12.phx.gbl ...****
如果不是RecordSet.EOF则
Dim struserLevel,strUName
struserLevel = RecordSet.Fields(" UserLevel")
strUName = RecordSet.Fields(" UName")
Session(" UserLevel")= cint(struserLevel)
Session(UName)= strUName
Response.Redirect(" admin3 / admin.asp")
*** *
根本不属于同一个网站的子文件夹中的不同域名,但是重定向工作正常,其会话无法进行交付
>
-
Guy
www.bradflack.com
请在发送电子邮件之前从我的
电子邮件地址中删除ANTI和垃圾邮件。
Ray at<%= sLocation%> < myfirstname at lane34 dot com>在消息中写道
新闻:eF ************* @ TK2MSFTNGP12.phx.gbl ...你是否回复。重定向到另一个域?你的
重定向是什么样的?
Ray在工作中
Guy Hocking < gu*@ANTIbradflack.SPAMcom>在消息中写道
新闻:Oj ************** @ TK2MSFTNGP12.phx.gbl ...你好,
我意识到这是DNS名称和IP地址是否有效的情况,但是我如何使用会话
在互联网上直播?并让他们工作>?
希望你们能帮忙
Ta
-
Guy
> www.bradflack.com
请删除ANTI和垃圾邮件我发送电子邮件之前的电子邮件地址。
Hi there,
I am having trouble with an ASP login that uses sessions to control access
to certain pages. However the sessions are not being carried accross upon
using response.redirect.
I realise that this is the case that DNS names and IP addresses vary upon
whether it works or not, however how can i get around using sessions live on
the internet? and make them work>?
Hope you guys can help
Ta
--
Guy
www.bradflack.com
Please remove ANTI and SPAM from my
email address before sending me an email.
Are you response.redirecting to a different domain? What does your redirect
look like?
Ray at work
"Guy Hocking" <gu*@ANTIbradflack.SPAMcom> wrote in message
news:Oj**************@TK2MSFTNGP12.phx.gbl...Hi there,
I am having trouble with an ASP login that uses sessions to control access
to certain pages. However the sessions are not being carried accross upon
using response.redirect.
I realise that this is the case that DNS names and IP addresses vary upon
whether it works or not, however how can i get around using sessions live on the internet? and make them work>?
Hope you guys can help
Ta
--
Guy
www.bradflack.com
Please remove ANTI and SPAM from my
email address before sending me an email.
****
If Not RecordSet.EOF Then
Dim struserLevel, strUName
struserLevel = RecordSet.Fields("UserLevel")
strUName = RecordSet.Fields("UName")
Session("UserLevel") = cint(struserLevel)
Session("UName") = strUName
Response.Redirect("admin3/admin.asp")
****
Not to a different domain at all, in a sub folder of the same website, But
the redirect works, its the session that doesnt get carries accross
--
Guy
www.bradflack.com
Please remove ANTI and SPAM from my
email address before sending me an email.
"Ray at <%=sLocation%>" <myfirstname at lane34 dot com> wrote in message
news:eF*************@TK2MSFTNGP12.phx.gbl...Are you response.redirecting to a different domain? What does your redirect look like?
Ray at work
"Guy Hocking" <gu*@ANTIbradflack.SPAMcom> wrote in message
news:Oj**************@TK2MSFTNGP12.phx.gbl...Hi there,
I am having trouble with an ASP login that uses sessions to control access to certain pages. However the sessions are not being carried accross upon using response.redirect.
I realise that this is the case that DNS names and IP addresses vary upon whether it works or not, however how can i get around using sessionslive on
the internet? and make them work>?
Hope you guys can help
Ta
--
Guy
www.bradflack.com
Please remove ANTI and SPAM from my
email address before sending me an email.
If you have the directory defined as its own application in IIS, the session
info will not carry to it. That''s my guess as to why session data isn''t
carrying, assuming that''s what''s happening.
http://www.aspfaq.com/show.asp?id=2157 for other causes.
Ray at work
"Guy Hocking" <gu*@ANTIbradflack.SPAMcom> wrote in message
news:uS**************@TK2MSFTNGP12.phx.gbl...****
If Not RecordSet.EOF Then
Dim struserLevel, strUName
struserLevel = RecordSet.Fields("UserLevel")
strUName = RecordSet.Fields("UName")
Session("UserLevel") = cint(struserLevel)
Session("UName") = strUName
Response.Redirect("admin3/admin.asp")
****
Not to a different domain at all, in a sub folder of the same website, But
the redirect works, its the session that doesnt get carries accross
--
Guy
www.bradflack.com
Please remove ANTI and SPAM from my
email address before sending me an email.
"Ray at <%=sLocation%>" <myfirstname at lane34 dot com> wrote in message
news:eF*************@TK2MSFTNGP12.phx.gbl...Are you response.redirecting to a different domain? What does your
redirectlook like?
Ray at work
"Guy Hocking" <gu*@ANTIbradflack.SPAMcom> wrote in message
news:Oj**************@TK2MSFTNGP12.phx.gbl...Hi there,
I am having trouble with an ASP login that uses sessions to control access to certain pages. However the sessions are not being carried accross upon using response.redirect.
I realise that this is the case that DNS names and IP addresses vary upon whether it works or not, however how can i get around using sessions
liveonthe internet? and make them work>?
Hope you guys can help
Ta
--
Guy
www.bradflack.com
Please remove ANTI and SPAM from my
email address before sending me an email.
这篇关于ASP会话不能正常工作的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!