JavaScript Development
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
 
User Name:
Password:
Remember me
 
Go Back   Dev Articles Community ForumsProgrammingJavaScript Development

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Display Modes
 
Unread Dev Articles Community Forums Sponsor:
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  
Old July 28th, 2004, 12:27 PM
Cartman71 Cartman71 is offline
Registered User
Dev Articles Newbie (0 - 499 posts)
 
Join Date: Jul 2004
Posts: 1 Cartman71 User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
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

Reply With Quote
  #2  
Old July 28th, 2004, 01:50 PM
dhouston's Avatar
dhouston dhouston is offline
Contributing User
Dev Articles Beginner (1000 - 1499 posts)
 
Join Date: May 2003
Location: Tennessee
Posts: 1,355 dhouston User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 7
Send a message via ICQ to dhouston
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.

Reply With Quote
Reply

Viewing: Dev Articles Community ForumsProgrammingJavaScript Development > Cookie Help


Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


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

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump


Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 





© 2003-2008 by Developer Shed. All rights reserved. DS Cluster 1 hosted by Hostway