/    Sign up×
Community /Pin to ProfileBookmark

Cookies Problem in IE

Hi Frnds!

i have exactly this kind of problem as posted by one of the forum members. please help me
———————————————————

I have an ASP page [url]http://host_name/gallery/images.asp[/url] that I use to dynamically serve and log image access to the gallery.

The way I’m using it is embedding the address in <img> tag to be accessed in a web-page like this: <img src=”http://host_name/gallery/images.asp?id=1″>. I set a cookie in images.asp before serving the image.

When the web page [url]http://another_host/index.asp[/url] opens, containing the above <img> tag, The cookie is not being set/sent in Internet Explorer, while if I open it with, say, Mozilla Firefox, it is sent and set for each loading of the page, which is what I want for IE too.

IE sends and sets cookies when the url in the above <img> tag is accessed directly from the address bar.

Any one knows a way to make IE also send cookies on loading offsite embedded image links in a page like Firefox?

Thanks

to post a comment
JavaScript

1 Comments(s)

Copy linkTweet thisAlerts:
@phpnoviceJul 08.2006 — I'm not 100% clear on what you're describing, but first reaction is that this sounds like a cross-domain cookie issue. Cookies cannot be accessed cross-domain -- if that is what you're talking about. In either case, this also doesn't sound like a JavaScript problem. How does it relate to JavaScript?
×

Success!

Help @arnab_dutta spread the word by sharing this article on Twitter...

Tweet This
Sign in
Forgot password?
Sign in with TwitchSign in with GithubCreate Account
about: ({
version: 0.1.9 BETA 5.18,
whats_new: community page,
up_next: more Davinci•003 tasks,
coming_soon: events calendar,
social: @webDeveloperHQ
});

legal: ({
terms: of use,
privacy: policy
});
changelog: (
version: 0.1.9,
notes: added community page

version: 0.1.8,
notes: added Davinci•003

version: 0.1.7,
notes: upvote answers to bounties

version: 0.1.6,
notes: article editor refresh
)...
recent_tips: (
tipper: @AriseFacilitySolutions09,
tipped: article
amount: 1000 SATS,

tipper: @Yussuf4331,
tipped: article
amount: 1000 SATS,

tipper: @darkwebsites540,
tipped: article
amount: 10 SATS,
)...