473,699 Members | 2,598 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

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.CreateOb ject("cyScape.b rowserObj")
bh.SetExtProper ties "cookie_bot h"
bh.GetExtProper tiesEx

if not bh.cookiesEnabl ed then
response.write "COOKIES DEAD"
end if

Thanks
Jason
Jul 19 '05 #1
2 1935
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***@catamara nco.com> wrote in message
news:%2******** ************@TK 2MSFTNGP10.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.CreateOb ject("cyScape.b rowserObj")
bh.SetExtProper ties "cookie_bot h"
bh.GetExtProper tiesEx

if not bh.cookiesEnabl ed 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***@catamara nco.com> wrote in message
news:%2******** ************@TK 2MSFTNGP10.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.CreateOb ject("cyScape.b rowserObj")
bh.SetExtProper ties "cookie_bot h"
bh.GetExtProper tiesEx

if not bh.cookiesEnabl ed 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
3186
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 off, the global variables are empty between pages, fine, that tells me cookies store the global variables - right? I store the values in $_session and when cookies are turned on values are passed between web pages - I can see these values in fields...
2
4711
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 (!session_id()) { //no support for session
1
2817
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 missing the big picture. Is it like this: 1. user comes to site 2. user does something (e.g. a search) that may be useful later => session
2
3343
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 the user. I want that cookie should get deleted when user closes the browser without signing out. I think it is done in global.asa file . But i don;t know how to do it?
9
2534
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
1969
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 then loaded a webpage that displayed Session.SessionID. Viola, I got one! And then, I reloaded the page. And then, I noticed that the SessionID incremented by one! This still isn't yet a one-page method of detecting if cookies are enabled or not...
2
1231
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 page we will have so if they are having problems, we can have them bring up that page to see if things are configured right.
5
5561
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 Explorer. I would appreciate any help anyone can offer, please. First, consider the following very simple JavaScript function: function CookiesEnabled() { SetCookie( "testcookie", "testcookie" ) ; var bCookiesEnabled = ( GetCookie(...
8
2756
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* image requests to a Php script that checks for that variable before simply delivering the image. Direct links to my images will fail this test and no image is served. I am monitoring my script by sending emails to myself and finding that...
0
8617
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 effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
9174
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, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
0
9035
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 tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
0
7751
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, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
1
6534
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
5875
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
4376
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
1
3057
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
3
2009
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

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.