473,398 Members | 2,335 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,398 software developers and data experts.

Cookies/sessions will not die - Browserhawk Test?

Its strange...I have experimenting with browser hawk by using the cookie
sniffer method. However, even If adjust the security slider level in
internet options or goto advanced in the privacy tab I cannot seem to prove
the condition below....it is almost as if cookies don't want to die in my
testing environment.

I did try closing the browser and relaunching but cookies and session ids
seem alive and well....is this the usual hassle with testing
cookies/sessions?

Option Explicit
Dim bh
set bh = Server.CreateObject("cyScape.browserObj")
bh.SetExtProperties "cookie_both"
bh.GetExtPropertiesEx

if not bh.cookiesEnabled then
response.write "COOKIES DEAD"
end if

Thanks
Jason
Jul 19 '05 #1
2 1919
Further Note: When I run the BH sample script it comes back with this:

You currently have cookies enabled.
Cookie details (only available for IE 5+):
Session cookies: Enabled
Permanent cookies: Enabled

What is the difference between a Session cookie and a permanent cookie...do
they mean "Server Session variable" and "Client side Permanent Cookie"...

...why woud this test partially work for the Bh sample script and not for my
page test?

- Jason

<ja***@catamaranco.com> wrote in message
news:%2********************@TK2MSFTNGP10.phx.gbl.. .
Its strange...I have experimenting with browser hawk by using the cookie
sniffer method. However, even If adjust the security slider level in
internet options or goto advanced in the privacy tab I cannot seem to prove the condition below....it is almost as if cookies don't want to die in my
testing environment.

I did try closing the browser and relaunching but cookies and session ids
seem alive and well....is this the usual hassle with testing
cookies/sessions?

Option Explicit
Dim bh
set bh = Server.CreateObject("cyScape.browserObj")
bh.SetExtProperties "cookie_both"
bh.GetExtPropertiesEx

if not bh.cookiesEnabled then
response.write "COOKIES DEAD"
end if

Thanks
Jason

Jul 19 '05 #2
Further Note: When I run the BH sample script it comes back with this:

You currently have cookies enabled.
Cookie details (only available for IE 5+):
Session cookies: Enabled
Permanent cookies: Enabled

What is the difference between a Session cookie and a permanent cookie...do
they mean "Server Session variable" and "Client side Permanent Cookie"...

...why woud this test partially work for the Bh sample script and not for my
page test?

- Jason

<ja***@catamaranco.com> wrote in message
news:%2********************@TK2MSFTNGP10.phx.gbl.. .
Its strange...I have experimenting with browser hawk by using the cookie
sniffer method. However, even If adjust the security slider level in
internet options or goto advanced in the privacy tab I cannot seem to prove the condition below....it is almost as if cookies don't want to die in my
testing environment.

I did try closing the browser and relaunching but cookies and session ids
seem alive and well....is this the usual hassle with testing
cookies/sessions?

Option Explicit
Dim bh
set bh = Server.CreateObject("cyScape.browserObj")
bh.SetExtProperties "cookie_both"
bh.GetExtPropertiesEx

if not bh.cookiesEnabled then
response.write "COOKIES DEAD"
end if

Thanks
Jason

Jul 19 '05 #3

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

5
by: TG | last post by:
This is more of a pain than I thought it would be. I need a simple code segment to determine whether a browser accepts cookies or not. When I pass variables between pages when cookies are turned...
2
by: Tom | last post by:
Hi, I would like to use the standard PHP sessions and I understand they rely on the target web browser to support session cookies. I have tried the following code: <? session_start(); if...
1
by: windandwaves | last post by:
Hi Gurus I am basically sorry that I have to bother you about this. I am a PHP beginner and I have been studying sessions and cookies over the last few weeks. I have learned lots, but I am...
2
by: Amit D.Shinde | last post by:
Hello Experts.. I need some help regarding cookies and session objects and also global.asa file I am creating one cookie when a user logs in on my website. The cookie stores the login name of...
9
by: | last post by:
Is it possible for a user to enable permanent cookies but disable session cookies.....this seems like a contradition yet this is what I appear to be reading in online articles?
3
by: Victor | last post by:
I was thinking about an easy to determine if cookies are set or not in ASP. I began thinking about how the Session ID is dependent upon a cookie - right? Well, I disabled cookies in Firefox and...
2
by: David Thielen | last post by:
Hi; 1) What is the easiest way to show in an aspx page if they have scripts enabled? 2) What is the easiest way to show in an aspx page if they have cookies enabled? This is for a test...
5
by: jheines | last post by:
I am trying to explain how cookies and sessions work in a class I teach, but I have hit a wall when it comes to the interaction between cookies and the state of the privacy settings in Internet...
8
by: Chuck Anderson | last post by:
I've instituted a sessions based scheme on my web site to combat hot linking to my images. When someone requests a page at my site, I set a session variable. I then use htaccess to redirect *all*...
0
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
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
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,...
0
Oralloy
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,...
0
jinu1996
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...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.