Hi,
This may or may not be a simple question, but I have been able to find
an answer to this issue in all my searches.
In an ASP application, I'm creating a cookie that stores a username
from pageA.asp
I then try to read the cookie from pageB.asp, which is inside a frame
of pageC.asp.
The problem is I can't read it from pageB.asp. Can anyone please help?
NOTE: If I make pageB.asp as a standalone page without being called
from the frame in pageC.asp, THEN I can read the cookie. But this is
not what I want.
If this wasn't clear please do let me know.
Thanks heaps,
Marcos 4 5700
Marcos wrote on 17 Aug 2006 20:42:32 -0700:
Hi,
This may or may not be a simple question, but I have been able to find
an answer to this issue in all my searches.
In an ASP application, I'm creating a cookie that stores a username
from pageA.asp
I then try to read the cookie from pageB.asp, which is inside a frame
of pageC.asp.
The problem is I can't read it from pageB.asp. Can anyone please help?
NOTE: If I make pageB.asp as a standalone page without being called
from the frame in pageC.asp, THEN I can read the cookie. But this is
not what I want.
If this wasn't clear please do let me know.
Thanks heaps,
Marcos
Are you using IE6 for testing? Is it a normal frame, or an iframe? IE6
blocks cookies to iframes as part of it's security.
Dan
Daniel Crichton wrote:
Are you using IE6 for testing? Is it a normal frame, or an
iframe? IE6 blocks cookies to iframes as part of it's
security.
That is only partially true. IE weighs several factors, including security
zone, machine settings, and P3P headers, when deciding whether to share
cookies (and thus sessions) across frames.
--
Dave Anderson
Unsolicited commercial email will be read at a cost of $500 per message. Use
of this email address implies consent to these terms.
Marcos wrote:
This may or may not be a simple question, but I have been
able to find an answer to this issue in all my searches.
I assume you mean you have NOT been able...
In an ASP application, I'm creating a cookie that stores a
username from pageA.asp
I then try to read the cookie from pageB.asp, which is inside
a frame of pageC.asp.
The problem is I can't read it from pageB.asp. Can anyone please
help?
Strictly speaking, this is not an ASP issue. It is an Internet Explorer
issue. Specifically, IE 5.01 and higher.
To confirm that it is not an ASP issue, try using any browser that does not
use the IE engine, such as Opera or Firefox.
To address your IE woes, take a gander here: http://classicasp.aspfaq.com/general...les-stick.html
--
Dave Anderson
Unsolicited commercial email will be read at a cost of $500 per message. Use
of this email address implies consent to these terms.
Daniel Crichton wrote:
>
Are you using IE6 for testing? Is it a normal frame, or an iframe? IE6
blocks cookies to iframes as part of it's security.
It's a normal frame and I'm using IE6.
I'm still having the issue by the way, so any thoughts would still be
appreciated.
Thanks. This thread has been closed and replies have been disabled. Please start a new discussion. Similar topics
by: |
last post by:
How does one read and write the cookie expiration date. At the moment my
code is returning a value BUT a garbled value:
'//Write cookie...
Response.Cookies("Propsect").Expires = Date() + 1
...
|
by: bb |
last post by:
Hello
In my Session_OnStart in Global.asa, I am setting some cookies. One
of them, I set as follows:
dim UserID
UserID = Request.ServerVariables("LOGON_USER")
Response.Cookies("User")("ID")...
|
by: rushik |
last post by:
Dear all,
We are using cookie base access management in our business intranet
portal. We are setting user level cookies at the time of successfull
login in the system, and after login we are...
|
by: chuck rudolph |
last post by:
Folks, Can anyone confirm that my understading is correct and maybe shed some
light on why it's as it is. (I'm guessing security, but that seems weak to
me.)
The asp.net web application is using...
|
by: tshad |
last post by:
I can add a cookie fine, but I can't seem to figure out how to change the
value of a cookie and save it back.
My code looks like:
if (passwordSaveCookie.checked) then
If...
|
by: Con |
last post by:
Hi, I'm gettting a traceback when I attempt to read the MySQLdb docs
after installation on Mac OS X 10.5.2:
BEGIN TRACEBACK:
Traceback (most recent call last):
File "<stdin>", line 1, in...
|
by: phpmagesh |
last post by:
Hi to all,
I am creating a registration page, like name, last name, Date of birth, ph number, address etc..
When i click submit button all the values are taking to validation page using POST...
|
by: ramuksasi |
last post by:
Hi,
I am unable to read a cookie value from the cookies. i have set cookie value from javascript in scripting side and try to read cookie value from coding part ie. default.aspx.vb. i have shown...
|
by: Charles Arthur |
last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
|
by: ryjfgjl |
last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
|
by: ryjfgjl |
last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
|
by: emmanuelkatto |
last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud.
Please let me know.
Thanks!
Emmanuel
|
by: BarryA |
last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
|
by: marktang |
last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
|
by: Hystou |
last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
|
by: Oralloy |
last post by:
Hello folks,
I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>".
The problem is that using the GNU compilers,...
|
by: jinu1996 |
last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
| |