Can't get the session variables

  • Thread starter Rolf Rosenquist
  • Start date
R

Rolf Rosenquist

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
 
R

Rolf Rosenquist

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" <[email protected]> skrev i meddelandet
ASP isn't "frames aware"

--
Regards

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

Keeping it FREE!
 
D

Dave Anderson

Rolf said:
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.
 
R

Rolf Rosenquist

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 said:
Rolf said:
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.
 
D

Dave Anderson

Rolf said:
Thats easier said than done.

It's not that difficult:
window.attachEvent("onload",function(){location.replace("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.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
474,262
Messages
2,571,059
Members
48,769
Latest member
Clifft

Latest Threads

Top