Help | Site Map
Connecting Tech Pros Worldwide
 
 
LinkBack Thread Tools
  #1  
Old July 19th, 2005, 01:06 PM
Rahul Chatterjee
Guest
 
Posts: n/a
Default domain problem in asp

Hello all

I have a web page which has 3 frames. The top and the left navigation frames
are on a separate domain. The right display frame initially starts on the
same domain as the other two frames but after the user clicks on a URL, he
is redirected to another domain. In this new domain I am setting session
variables and cookies.

TO give a brief over view of our test environment and production environment

The test environment is

https://www.domainA.com/test/somepage.asp

The data is initially displayed here and after the user clicks on the right
frame link, he is directed to

https://www.domainA.com/backendtest/somepage.asp - As mentioned earlier, the
cookies and session variables are set here.

As long as we are in the above structure, we are fine, the session variables
get set and cookies get set. When we go into production mode is when we get
into trouble

The production environment is

https://www.LiveSite/live/somepage.asp - this is hosted at out ISP

the redirection page gets published to another sub DOMAIN within our
domainA structure

https://www.domainA.com/backendlive/somepage.asp - let me point out that the
backendtest domain and the backendlive domain are identical sub domains
within DomainA

So how the data flows is the user brings up the live domain and then clicks
on the right frame page which redirects him to the backend live domain while
the left frame and the top frame are still in the livesite domain.


As I mentioned during this process, all the session variables in the backend
live domain are not being set. It sets the session variable on the initial
page that I go to after clicking but beyond that any page that I navigate
to, I lose all session variables and cookies while coming in from the live
site.

This problem does not happen when I am in the test environment

Please advise

Thanks in advance


  #2  
Old July 19th, 2005, 01:06 PM
Maarten
Guest
 
Posts: n/a
Default Re: domain problem in asp

You need to allow this in the Browsers IE = Extra, Options, Security.
Otherwise Cookies / SessionVariables want work cross domain in MSIE


 

Bookmarks

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are Off
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

What is Bytes?

We are a network of experts and professionals in IT and software development that help one another with answers to tough questions and share insights. Get the best answers to your questions from over network members.
Post your question now . . .
It's fast and it's free

Popular Articles