By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
444,077 Members | 1,790 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 444,077 IT Pros & Developers. It's quick & easy.

Can't get the session variables

P: n/a
From a html page with frames, I have a link to an asp application. When I
let it go to a new browser, all the session variables work as intended. But
when I link it into the main frame as target, the session variables are all
blank.

Anyone know of a way to mix asp and html pages with frames?

/ Rolf
Jul 22 '05 #1
Share this Question
Share on Google+
6 Replies


P: n/a
ASP isn't "frames aware"

--
Regards

Steven Burn
Ur I.T. Mate Group
www.it-mate.co.uk

Keeping it FREE!

"Rolf Rosenquist" <ro**@nomail.com> wrote in message news:On**************@TK2MSFTNGP10.phx.gbl...
From a html page with frames, I have a link to an asp application. When I
let it go to a new browser, all the session variables work as intended. But
when I link it into the main frame as target, the session variables are all
blank.

Anyone know of a way to mix asp and html pages with frames?

/ Rolf



Jul 22 '05 #2

P: n/a
It is not the asp page that says where to go. It is the html page that puts
the asp into a frame of another html page. That way the asp page does not
know where it is, as I see it. And I don't understand why the session
variables stop to work.
/ Rolf
"Steven Burn" <so*******@in-time.invalid> skrev i meddelandet
news:OW**************@TK2MSFTNGP14.phx.gbl...
ASP isn't "frames aware"

--
Regards

Steven Burn
Ur I.T. Mate Group
www.it-mate.co.uk

Keeping it FREE!

"Rolf Rosenquist" <ro**@nomail.com> wrote in message
news:On**************@TK2MSFTNGP10.phx.gbl...
From a html page with frames, I have a link to an asp application. When I
let it go to a new browser, all the session variables work as intended. But when I link it into the main frame as target, the session variables are all blank.

Anyone know of a way to mix asp and html pages with frames?

/ Rolf

Jul 22 '05 #3

P: n/a
Gazing into my crystal ball I observed "Rolf Rosenquist"
<ro**@nomail.com> writing in news:##**************@TK2MSFTNGP09.phx.gbl:
It is not the asp page that says where to go. It is the html page that
puts the asp into a frame of another html page. That way the asp page
does not know where it is, as I see it. And I don't understand why the
session variables stop to work.


http://www.html-faq.com/htmlframes/?framesareevil

--
Adrienne Boswell
http://www.cavalcade-of-coding.info
Please respond to the group so others can share
Jul 22 '05 #4

P: n/a
Rolf Rosenquist wrote:
From a html page with frames, I have a link to an asp application.
When I let it go to a new browser, all the session variables work as
intended. But when I link it into the main frame as target, the
session variables are all blank.

Anyone know of a way to mix asp and html pages with frames?


Yes. Insist your users abandon Internet Explorer. None of the Gecko-based
browsers exhibit this behavior[1]. Neither does any version of Opera or even
pre-Gecko Netscape browsers. Only Internet Explorer does this. And it's done
on purpose, if you can believe that.
[1] Mozilla, Firefox, Netscape 6+, etc.

--
Dave Anderson

Unsolicited commercial email will be read at a cost of $500 per message. Use
of this email address implies consent to these terms. Please do not contact
me directly or ask me to contact you directly for assistance. If your
question is worth asking, it's worth posting.
Jul 22 '05 #5

P: n/a
Thats easier said than done. When I check what browsers people use on the
site, it says at least 90% are using IE. IThat would be too much effort to
convert all those users. So I guess it is really impossible to solve the
problem in my question. :-(

/ Rolf

"Dave Anderson" <GT**********@spammotel.com> skrev i meddelandet
news:uA**************@TK2MSFTNGP14.phx.gbl...
Rolf Rosenquist wrote:
From a html page with frames, I have a link to an asp application.
When I let it go to a new browser, all the session variables work as
intended. But when I link it into the main frame as target, the
session variables are all blank.

Anyone know of a way to mix asp and html pages with frames?
Yes. Insist your users abandon Internet Explorer. None of the Gecko-based
browsers exhibit this behavior[1]. Neither does any version of Opera or

even pre-Gecko Netscape browsers. Only Internet Explorer does this. And it's done on purpose, if you can believe that.
[1] Mozilla, Firefox, Netscape 6+, etc.

--
Dave Anderson

Unsolicited commercial email will be read at a cost of $500 per message. Use of this email address implies consent to these terms. Please do not contact me directly or ask me to contact you directly for assistance. If your
question is worth asking, it's worth posting.

Jul 22 '05 #6

P: n/a
Rolf Rosenquist wrote:
Anyone know of a way to mix asp and html pages with frames?


Yes. Insist your users abandon Internet Explorer...


Thats easier said than done.


It's not that difficult:
window.attachEvent("onload",function(){location.re place("http://www.mozilla.
org/products/firefox/")})

--
Dave Anderson

Unsolicited commercial email will be read at a cost of $500 per message. Use
of this email address implies consent to these terms. Please do not contact
me directly or ask me to contact you directly for assistance. If your
question is worth asking, it's worth posting.
Jul 22 '05 #7

This discussion thread is closed

Replies have been disabled for this discussion.