473,387 Members | 1,687 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,387 software developers and data experts.

Can't get the session variables

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
6 1418
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
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
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
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
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
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 thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

3
by: Jessica Loriena | last post by:
I'm trying to write a simple "register form / validate and store in database / show welcome screen" application with ASP.Net. With conventional ASP, I used Session variables and it went something...
6
by: Nedu N | last post by:
Hi, I am trying to design a Home page for my applicatiion in which i want show the links for for some itms... I tried to put the following <td> <font face="Arial, Helvetica, sans-serif" ...
1
by: Steve Remer | last post by:
My application (relevant code snippets below) originally used Session variables in order to maintain state from page to page. After being unable to solve the mystery of why those variables were...
5
by: Oleg Ogurok | last post by:
Hi all, Is there a way to read other people's session variables? I understand it makes sense that session state is on per-user basis, but still... Is there a way to get a collection of all...
10
by: tshad | last post by:
I have been using the default session state (InProc) and have found that I have been loosing my information after a period of time (normally 20 minutes). Is there anyway to find out how much...
3
by: Lee Moore | last post by:
I have some user controls defined that represent a common header and footer for a particular site. the footer contains links with querystring parameters based on session variables. The problem is,...
1
by: Larry Neylon | last post by:
Hi, I'm working on a VBScript application on IIS6 and I'm looking for some advice about the best way of replacing or improving session variable usage. The application is in a secure extranet...
26
by: BillE | last post by:
Some ASP.NET applications use Session Variables extensively to maintain state. These should be re-written to use viewstate, hidden fields, querystring, etc. instead. This is because if a user...
22
by: K. A. | last post by:
I have two servers at work, 'A' for testing and development, and server 'B' for production. On server A, I wrote a PHP test code to login users then direct them to a personalized page. This is...
6
by: ChrisAtWokingham | last post by:
I have been struggling with unexpected error messages on an ASP.NET system, using SQL and C#. The application draws organisation charts, based on data stored in the SQL database. Some of the chart...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.