Session......frames

R

Ronald

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

Don Verhagen

Ronald said:
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
 
R

Ronald

I have a frameset on domain X in which an ASP-page is loaded from domain
Y
You mean cookies? Domain X cannot read/access Domain Y's cookies. It's a
security thing.



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

WIlliam Morris

You can't work across domains and get any sort of reliability with cookies,
session objects, etc etc etc.
 
P

Phillip Windell

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]
(e-mail address removed)
WAND-TV (ABC Affiliate)
www.wandtv.com
 

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

No members online now.

Forum statistics

Threads
473,766
Messages
2,569,569
Members
45,042
Latest member
icassiem

Latest Threads

Top