|
|
|||||||||
|
|||||||||
|
|||||||||
| |
|||
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Display Modes |
|
|
|
Ajax Application Generator Generate database and reporting .NET Web apps in minutes. Quickly create visually stunning, feature-rich apps that are easy to customize and ready to deploy. Download Now!
|
|
#1
|
|||
|
|||
|
Cookie Help
Hi,
I am trying to create a dynamic page that loads a news page or the main page depending on the version of the news and if the user has already seen the news page at least twice. I have set up a cookie to track the news page version and to count how many times they have seen that version. The Problem: The page(s) that I am loading appear in a frame of another webpage from another server. The 'Main' application is a framework for performing a bunch of calculations and I am loading my 'Custom' tools from a different server into this framework. When I use the page that I created by its self it works quite well so I know that I have it coded it correctly. I assume that the reason that it is not working in the framework is that the framework is the one holding the session and the page that I am loading from my server is prevented from reading writing any cookies. The Question: Does anyone know if there is a way that I can get this working? In my researching I read a blurb about doubleclick placing a cookie on a system without the user having to visit their site but of course the article did not say 'How' it was done. Thanks, any help would be greatly appreciated Eric Wright |
|
#2
|
||||
|
||||
|
As far as I know, cookies can only come from and can only be read by the originating server. Maybe you could work out something wherein your main app calls a js in the child window that sets/reads the cookie within the context of that window and returns a value. I'm not sure even this could be done.
__________________
Please don't PM me asking for solutions outside the scope of a thread. Keeping all responses in a thread stands to help others who come along later, which is after all what this forum's all about. |
![]() |
| Viewing: Dev Articles Community Forums > Programming > JavaScript Development > Cookie Help |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|