It is possible to check via ASP whether cookies are enabled for a person's
web browser and based on this check send him to another page which does not
support cookies (ie login?)?
Thanks
Jason 7 5565 http://www.aspfaq.com/2058
-- http://www.aspfaq.com/
(Reverse address to reply.)
<ja***@catamara nco.com> wrote in message
news:#0******** ******@TK2MSFTN GP09.phx.gbl... It is possible to check via ASP whether cookies are enabled for a person's web browser and based on this check send him to another page which does
not support cookies (ie login?)?
Thanks Jason
yes, just write one, redirect to another page, read it. If it's not there
they dont accept them. Just make sure not to write and read on the same
page...or you wont get an accurate result.
--
Curt Christianson
Owner/Lead Developer, DF-Software
Site: http://www.Darkfalz.com
Blog: http://blog.Darkfalz.com
<ja***@catamara nco.com> wrote in message
news:%2******** ********@TK2MSF TNGP09.phx.gbl. .. It is possible to check via ASP whether cookies are enabled for a person's web browser and based on this check send him to another page which does
not support cookies (ie login?)?
Thanks Jason
This seems similiar to this article which points out it the process could be
ruined by caching and the fact that it uses up server resources: http://www.asp101.com/articles/john/...ct/default.asp
Would you advise using this approach to allow user to bypass login screen if
he is present in database?
"Curt_C [MVP]" <software_AT_da rkfalz.com> wrote in message
news:uD******** ******@TK2MSFTN GP09.phx.gbl... yes, just write one, redirect to another page, read it. If it's not there they dont accept them. Just make sure not to write and read on the same page...or you wont get an accurate result.
-- Curt Christianson Owner/Lead Developer, DF-Software Site: http://www.Darkfalz.com Blog: http://blog.Darkfalz.com
<ja***@catamara nco.com> wrote in message news:%2******** ********@TK2MSF TNGP09.phx.gbl. .. It is possible to check via ASP whether cookies are enabled for a
person's web browser and based on this check send him to another page which does not support cookies (ie login?)?
Thanks Jason
wrote on 05 aug 2004 in microsoft.publi c.inetserver.as p.general: It is possible to check via ASP whether cookies are enabled for a person's web browser and based on this check send him to another page which does not support cookies (ie login?)?
<http://www.google.com/search?num=100& q=ASP+whether+c ookies+are+enab led>
--
Evertjan.
The Netherlands.
(Please change the x'es to dots in my emailaddress)
Does this solution also hold true for users whose browsers have cookies
enabled but have turned them off?
"Aaron [SQL Server MVP]" <te*****@dnartr eb.noraa> wrote in message
news:uW******** ******@TK2MSFTN GP10.phx.gbl... http://www.aspfaq.com/2058
-- http://www.aspfaq.com/ (Reverse address to reply.)
<ja***@catamara nco.com> wrote in message news:#0******** ******@TK2MSFTN GP09.phx.gbl... It is possible to check via ASP whether cookies are enabled for a
person's web browser and based on this check send him to another page which does not support cookies (ie login?)?
Thanks Jason
Yes. It would probably take you all of 45 seconds to verify that for
yourself, though... ;-)
Remember, it is not checking a setting, it is setting a cookie and then
trying to read it! Whether they have a browser that doesn't support
cookies, or it does but they turned them off, the result will be the same,
no?
-- http://www.aspfaq.com/
(Reverse address to reply.)
<ja***@catamara nco.com> wrote in message
news:uO******** ******@tk2msftn gp13.phx.gbl... Does this solution also hold true for users whose browsers have cookies enabled but have turned them off?
I guess you are right...
...as usual! :)
"Aaron [SQL Server MVP]" <te*****@dnartr eb.noraa> wrote in message
news:%2******** ********@TK2MSF TNGP12.phx.gbl. .. Yes. It would probably take you all of 45 seconds to verify that for yourself, though... ;-)
Remember, it is not checking a setting, it is setting a cookie and then trying to read it! Whether they have a browser that doesn't support cookies, or it does but they turned them off, the result will be the same, no?
-- http://www.aspfaq.com/ (Reverse address to reply.)
<ja***@catamara nco.com> wrote in message news:uO******** ******@tk2msftn gp13.phx.gbl... Does this solution also hold true for users whose browsers have cookies enabled but have turned them off?
This thread has been closed and replies have been disabled. Please start a new discussion. Similar topics |
by: Ana |
last post by:
Is it possible to check by means of javascript whether cookies are enabled
in the user's browser?
Thanks in advance,
Ana
|
by: Jennifer |
last post by:
Is there a way to check for to see if the user has session cookies
enabled?
I know how to check to see if they have cookies in general enabled,
but how do you test for just session cookies?
Thanks
Jen
|
by: Sri |
last post by:
Hi
I am trying to figure out how to test whether my browser cookies are enabled.
I used the code from the following page
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/dv_vstechart/html/vbtchaspnetcookies101.as
Basically, it tells me to create a cookie and test the cookie from another page. However, in IE 6.0, if I set my privacy setting to a High level so as to block all cookies, the code always returns that the...
|
by: dawson |
last post by:
I started off by trying to use the HttpCapabilitiesBase.Cookies
Property (Note: This property is new in the .NET Framework version 2.0)
however it kept on returning true even when I disabled cookies in both
FireFox and Internet Explorer.
After a bit of googling I found that a lot of people were creating
cookies, then re-reading them; obviously if they could re-read the
cookie then they knew that the client's browser accepts cookies!...
|
by: Chris Davoli |
last post by:
How do you enable a check box in the GridView. I selected Checkbox Field in
the Columns of the GridView, and the check box shows up in the Grid view, but
it is disabled. How do I enable it so I can check/uncheck it. Also, what
event do I use to check it for a value? Any articles out there?
--
Chris Davoli
| |
by: FAQ server |
last post by:
-----------------------------------------------------------------------
FAQ Topic - How can I see in javascript if a web browser accepts cookies?
-----------------------------------------------------------------------
Writing a cookie, reading it back and checking if it's the same.
http://www.w3schools.com/js/js_cookies.asp
Additional Notes:
|
by: pritaeas |
last post by:
Hi,
is there an easy way to check if session cookies are enabled, without using
javascript and without passing a GET parameter ?
Regards, Hans
--
|
by: =?Utf-8?B?Qkw=?= |
last post by:
if (Request.Browser.Cookies)
{
// Cookies supported
}
else
{
// Web browser not supports cookies
}
|
by: cordless33 |
last post by:
I want to redirect all users with cookies enabled. When someone visits my website with cookies enabled they they should get redirected somewhere else.
The code i'm using now only works once. Until they delete cookies.
|
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, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look !
Part I. Meaning of...
|
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,...
| |
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...
|
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...
|
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 Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
|
by: tracyyun |
last post by:
Dear forum friends,
With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
|
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...
|
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();...
| |
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...
| |