473,399 Members | 4,192 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,399 software developers and data experts.

frameset and loss of session

Hey folks,

I have IIS running on a dynamic IP so have had to make use of
www.dyndns.org to make sure that a call to the site's WWW address will make
it to the appropriate IP. There is an option in the www.dyndns.org account
settings to mask a redirect, which essentially makes a frameset and hides
the actual WWW address. This is a nice feature, but the problem is I have a
number of asp forms that permit posting data to an Access database and I
pass a session variable between these pages to maintain a visitor's session.

So, in place of Response.Redirect, I used Server.Transfer, which seems
to work and preserves the frameset made by www.dyndns.org. The problem is,
once a visitor logs in to my login asp page, he/she is then redirected to a
user interface asp page of sorts with a number of buttons that direct
him/her to other asp pages. I have these buttons configured to redirect with
an onclick, such as onclick = "parent.location='mypage.asp'", but of course
that doesn't preserve the framset. I also tried onclick =
"parent.frames[1].location='mypage.asp'", but the session state gets
dropped. Is there any way to preserve the session state across asp pages
when in a frameset like this using buttons for onclick redirects?

Thanks for any advice,

Dave
Jul 22 '05 #1
5 3583
David Shorthouse wrote:
Is there any way to preserve the session state across asp
pages when in a frameset like this using buttons for onclick
redirects?


Yes - by using any browser other than Internet Explorer (or by using
acceptible P3P headers).
http://support.microsoft.com/default.aspx/kb/323752

--
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 #2
Cool, thanks very much for this. I had no idea it was just IE6 that lead to
this.

Dave

"Dave Anderson" <GT**********@spammotel.com> wrote in message
news:e0**************@TK2MSFTNGP09.phx.gbl...
David Shorthouse wrote:
Is there any way to preserve the session state across asp
pages when in a frameset like this using buttons for onclick
redirects?


Yes - by using any browser other than Internet Explorer (or by using
acceptible P3P headers).
http://support.microsoft.com/default.aspx/kb/323752

--
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 #3
Dave,

Works like a charm! Thanks again. Since you seem to be up on these
things, do you know how to do the opposite of busting a browser out of a
frame? In other words, all my pages should be in one master frameset such
that the address in the address bar is static through navigations within my
site. However, for some time before you taught me the solution to my earlier
problem, it's quite likely that folks have been bookmarking the daughter
pages instead of the frameset page. Is it possible to pop these visitors
back into the frameset if they bookmarked any of the daughter pages?
Something like a response header- if in daughter then redirect to
mother.....eesh, that could cause father to get the shotgun ;)~

Thanks,

Dave

"Dave Anderson" <GT**********@spammotel.com> wrote in message
news:e0**************@TK2MSFTNGP09.phx.gbl...
David Shorthouse wrote:
Is there any way to preserve the session state across asp
pages when in a frameset like this using buttons for onclick
redirects?


Yes - by using any browser other than Internet Explorer (or by using
acceptible P3P headers).
http://support.microsoft.com/default.aspx/kb/323752

--
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 #4
Tee hee, no need for the shotgun. I found the Javascript solution in case
anyone was interested:

http://www.psacake.com/web/ir.asp

Dave
"David Shorthouse" <da*************@shawyourclothes.ca> wrote in message
news:um**************@TK2MSFTNGP15.phx.gbl...
Dave,

Works like a charm! Thanks again. Since you seem to be up on these
things, do you know how to do the opposite of busting a browser out of a
frame? In other words, all my pages should be in one master frameset such
that the address in the address bar is static through navigations within
my site. However, for some time before you taught me the solution to my
earlier problem, it's quite likely that folks have been bookmarking the
daughter pages instead of the frameset page. Is it possible to pop these
visitors back into the frameset if they bookmarked any of the daughter
pages? Something like a response header- if in daughter then redirect to
mother.....eesh, that could cause father to get the shotgun ;)~

Thanks,

Dave

"Dave Anderson" <GT**********@spammotel.com> wrote in message
news:e0**************@TK2MSFTNGP09.phx.gbl...
David Shorthouse wrote:
Is there any way to preserve the session state across asp
pages when in a frameset like this using buttons for onclick
redirects?


Yes - by using any browser other than Internet Explorer (or by using
acceptible P3P headers).
http://support.microsoft.com/default.aspx/kb/323752

--
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

THANK YOU DAVE!!!

U really saved me on this one.
I had the same problem with an Iframe, and a P3P header did the trick.

Dave Anderson wrote:
*David Shorthouse wrote:
Is there any way to preserve the session state across asp
pages when in a frameset like this using buttons for onclick
redirects?


Yes - by using any browser other than Internet Explorer (or by using
acceptible P3P headers).
http://support.microsoft.com/default.aspx/kb/323752

--
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. * *Thank you Dave!!!*


--
CB Stilborg
------------------------------------------------------------------------
Posted via http://www.codecomments.com
------------------------------------------------------------------------

Jul 22 '05 #6

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

8
by: Hans | last post by:
Hi There, I have a page that has links with some variables and I need to open the results set in a frameset. I have tried doing this in various different ways, but still cannot get the variable...
13
by: Kai Grossjohann | last post by:
I have a web app which comprises different frames: a menu bar frame, a search form frame, a result list frame. Depending on the state, only a subset of these frames is available. (Eg, after...
1
by: Cantekin Guneser | last post by:
i have web application with frameset, i need to read querystring of a frame from other frame in the frameset thnks
3
by: Helixpoint | last post by:
How do you do a frameset in an aspx page? -- ______________________ David Fetrow HelixPoint LLC. http://www.helixpoint.com davef@helixpoint.com
10
by: IntraRELY | last post by:
I am building an Intranet application and is more of an "Application" vs. a typical "Web Application" or "Web Site". Using a FRAMSET seems like it has many benefits and gives mainly the feel of...
4
by: Chris | last post by:
When a request comes into a page on my ASP.net site and a session is not found, I want to detect whether the request is an initial request or if the user did have a session going that has now been...
2
by: Donald | last post by:
I'm having a problem passing QueryString values to other web pages from a frame set. Here's the details of the problem: 1. I have three web forms: WorkObject.ASPX, WorkObject_Header.ASPX and...
0
by: SATISD9X | last post by:
Hi, I have a frameset page named FramePageA which calls another frameset page on a hyperlink click named FramePageB. Now this FramePageB is a page which has got login authentication which pops up...
25
by: Geoff Cox | last post by:
Hello, The following <frame src="topbar-frameset.php?newVar=<?php echo $groups; ?>"> passes the value of the variable $groups from a php file to the top page in a frameset but how do I...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
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...
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
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
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...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...

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.