473,738 Members | 3,854 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Session......fr ames

Hi!

I have a frameset on domain X in which an ASP-page is loaded from domain Y
into one of the frames. It seems that the ASP-page is not handling any
cooky's. After each load the session-object is empty. When directly opening
the page from domain Y (without the frameset) everything works ok. Does
anyone knows why this is happening en what can be done to make it work?
Jul 19 '05 #1
4 2253

"Ronald" <Ro****@nospam. nl> wrote in message
news:hq******** *************@a msnews02.chello .com...
Hi!

I have a frameset on domain X in which an ASP-page is loaded from domain Y
into one of the frames. It seems that the ASP-page is not handling any
cooky's.
You mean cookies? Domain X cannot read/access Domain Y's cookies. It's a
security thing.

After each load the session-object is empty. When directly opening
the page from domain Y (without the frameset) everything works ok. Does anyone knows why this is happening en what can be done to make it

work?

Use a database or hidden form fields.

Don

Jul 19 '05 #2
> > I have a frameset on domain X in which an ASP-page is loaded from domain
Y
into one of the frames. It seems that the ASP-page is not handling any
cooky's.


You mean cookies? Domain X cannot read/access Domain Y's cookies. It's a
security thing.

After each load the session-object is empty. When directly opening
the page from domain Y (without the frameset) everything works ok.

Does anyone knows why this is happening en what can be done to make it

work?

Use a database or hidden form fields.


I don't want Domain Y to read cooky's from domain X. I just want domein X
read cooky's from domain X when a page from domain X is in a frameset from
domain Y.
Jul 19 '05 #3
You can't work across domains and get any sort of reliability with cookies,
session objects, etc etc etc.

--
William Morris
Product Development, Seritas LLC
"Ronald" <Ro****@nospam. nl> wrote in message
news:hq******** *************@a msnews02.chello .com...
Hi!

I have a frameset on domain X in which an ASP-page is loaded from domain Y
into one of the frames. It seems that the ASP-page is not handling any
cooky's. After each load the session-object is empty. When directly opening the page from domain Y (without the frameset) everything works ok. Does
anyone knows why this is happening en what can be done to make it work?

Jul 19 '05 #4
When DomX retrieves the page in the Frames the "session" is between
the DomX and DomY, not with the user. Remember that Y is receiving the
request from X, not from the user.

The user's session is between the user and DomX, not with DomY.

So you have one session between the User and X and another session
between X and Y,....and "never the two shall meet" as far as I know.

I don't know of a workaround with "sessions".
--

Phillip Windell [CCNA, MVP, MCP]
pw******@wandtv .com
WAND-TV (ABC Affiliate)
www.wandtv.com

"Ronald" <Ro****@nospam. nl> wrote in message
news:hq******** *************@a msnews02.chello .com...
Hi!

I have a frameset on domain X in which an ASP-page is loaded from domain Y into one of the frames. It seems that the ASP-page is not handling any cooky's. After each load the session-object is empty. When directly opening the page from domain Y (without the frameset) everything works ok. Does anyone knows why this is happening en what can be done to make it work?

Jul 19 '05 #5

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

Similar topics

13
23334
by: Mimi | last post by:
Hello, I am having trouble using the session vars in PHP 4.3.9 OS: Win XP Prof Web Server IIS (is local and there are no links to other servers from the web pages I work on) Browser: IE 6.0 The problem I am having is that each time I reload the same PHP page, I get
1
2263
by: Dave Smithz | last post by:
Hi there, I have implemented a login sequence using session variables for a PHP/MySQL DB which I took over development. I read some books and this NG and it seemed straight forward. However the website I have taken over uses two frames. The left hand side is always a navigation frame with the righthand side of the screen always being the target. I developed a main web page where login takes place and if successful a session variable...
4
4667
by: A Web Master | last post by:
I am designing a site for a client where I have a frameset and 3 frames (all in ASP). I am creating session variables in the frameset that need to be accessed in the frames. It seams that in Netscape (4.75), the Frameset Session variables are not defined when accessed in the frames. Why and how to fix this ? Take these for example. The only session variable contents displayed right are the ones defined in the actual frame. This only...
2
2129
by: Bonj | last post by:
H I've got the following problem - I need to have an aspx page with two frames, although the question isn't necessarily about the workings of the frames, more session variables... the frames consist of one header (not resizable) and one main (resizable). The source for the "main" page needs to be of the form "WebForm3.aspx?...." with parameters to be determined at runtime. I'm ok with this, I've gone down the route of puttin src="<%=...
4
2869
by: Kent Tegels | last post by:
Okay, so I know I'm doing two evil things: using Frames and storing stuff in Session. I'm a sinner and I'll repent after this project, I promise. But for now, I've got an interesting issue. In a site's Gobal.asax, I've written the following in Session_OnStart: Session.Add("Started",now.toString)
1
737
by: Werner | last post by:
Hi Patrick! Can you give an example of how to use a frameset inside an aspx-file? When I create a new frameset in Visual Studio.Net it just gives me a htm-File. Or give me a link where I can find one? Thanks Werner P.S. Somehow I did not manage to do a followup in Googles newsgroups.
13
2856
by: Alexander Widera | last post by:
hi, who has seen the follow problem or could help please? i visit a page .... i read a sesssion-var . ... everythink works...... i visit the page again..... error ... the sessionvar is null .... i visit again .... null ... again .... it works ..... again ... it works ... again ..... null....... and so on and on .... it does randomly work or not.... what is this effect?
1
2964
by: SteveComplex | last post by:
I'm currently working on a project developing a web application that makes heavy use of 3rd-party controls, popup windows and frames ( not my design I hasten to add ). Some of the pages make use of several user controls embedded in a tab control. Needless to say that the page size can be somewhat on the large size, including a lot of information being stored in viewstate. I'm currently looking for a solution to resolve the problem of...
6
2510
by: Doug | last post by:
I'm about to go nuts. I've got a VB.NET web app , utilizing frames(my 1st mistake). One of the frames is hidden and does a behind the scenes refresh, to keep the session alive. This works great with IIS 5.0, but when I port it to IIS 6.0. The refresh does not reset the session. The only thing that will work on the IIS 6.0 server, is to refresh the ENTIRE frameset. This is not an option. Is there anything I can do to the code, or...
2
2897
by: Iwan Adler | last post by:
hi ich have an asp.net application. on the index.aspx page are 2 iframes. these iframes contain a src to another aspx page from my application. the index page is cached from the iis, also the first requests, that arrive to the application are the 2 from the iframes. now, for each request it generates a new session with a new session-id. but i only expect one session, because it is the same browser and the same
0
8968
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, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
8787
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 effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
9473
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, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
0
9208
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
8208
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
1
6750
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 presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
4569
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
1
3279
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
2
2744
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

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.