hosted by liquidweb


Go Back   Web Hosting Talk : Web Hosting Main Forums : Hosting Security and Technology : Cookies must be enabled [HOW]
Reply

Hosting Security and Technology Configuring and optimizing web hosting servers and operating systems, developing administration scripts, building servers, protecting against hackers, and general security (SSL certificates, etc.)
Forum Jump

Cookies must be enabled [HOW]

Reply Post New Thread In Hosting Security and Technology Subscription
 
Send news tip View All Posts Thread Tools Search this Thread Display Modes
  #1  
Old 08-14-2002, 07:12 PM
S_Remi S_Remi is offline
Newbie
 
Join Date: Apr 2002
Posts: 8

Cookies must be enabled [HOW]


Hi every body


I wounder if you can tell where can I find the code that redirect any none cookie enabled browser to a deferent page.

Any hints or keywords I can search for, I have been looking in the last two weeks without any success,

Thank you very much in advance


S_Remi

Reply With Quote


Sponsored Links
  #2  
Old 08-14-2002, 07:26 PM
mikeknoxv mikeknoxv is offline
Aspiring Evangelist
 
Join Date: Jul 2001
Location: Boston
Posts: 354

Reply With Quote
  #3  
Old 08-14-2002, 07:36 PM
S_Remi S_Remi is offline
Newbie
 
Join Date: Apr 2002
Posts: 8
Thank you very much mikeknoxv

I think this is a nice trick but I am not sure if this is the best method to do it .

I am looking for something for the htaccess or some kind of directive for the httpd.conf

Reply With Quote
Sponsored Links
  #4  
Old 08-15-2002, 05:24 PM
chirpy chirpy is offline
Web Hosting Guru
 
Join Date: Jun 2002
Posts: 271
AFAIK, you can only do this by trying to set a cookie and seeing if it takes. You can do this type of thing, as mike has suggested, using Java, or JavaScript, or a perl CGI or PHP - take your pick.

I don't see how Apache in itself would be able to tell if you have cookies enabled as this type of information isn't sent in a http request.

I'd be happy to be proved wrong.

__________________
Jonathan Michaelson (cPanel Forum Moderator and developer of csf)

Need your cPanel servers secured and tuned?
cPanel Server Configuration, Recovery and Antivirus/AntiSpam Services http://www.configserver.com


Reply With Quote
  #5  
Old 08-16-2002, 01:55 PM
S_Remi S_Remi is offline
Newbie
 
Join Date: Apr 2002
Posts: 8
Thank you very much chirpy

Can some one tell me how to do it with PHP or JavaScript (I mean the script)

Reply With Quote
  #6  
Old 08-18-2002, 11:00 AM
S_Remi S_Remi is offline
Newbie
 
Join Date: Apr 2002
Posts: 8
Quote:
Originally posted by S_Remi
Thank you very much chirpy

Can some one tell me how to do it with PHP or JavaScript (I mean the script)

Thanks

Reply With Quote
  #7  
Old 08-18-2002, 11:09 AM
chirpy chirpy is offline
Web Hosting Guru
 
Join Date: Jun 2002
Posts: 271
Don't have anything special, but a quick Google search throws up plenty of examples for you:

http://www.google.co.uk/search?num=1...e+Search&meta=

__________________
Jonathan Michaelson (cPanel Forum Moderator and developer of csf)

Need your cPanel servers secured and tuned?
cPanel Server Configuration, Recovery and Antivirus/AntiSpam Services http://www.configserver.com


Reply With Quote
  #8  
Old 08-18-2002, 01:16 PM
2host.com 2host.com is offline
Web Hosting Evangelist
 
Join Date: May 2002
Posts: 466
The question is, what purpose and where is the cookie information used? You can try and get a list of browsers that aren't compatible, but most are. You aren't going to be able to accurately tell if someone has cookies enabled or not. (I don't think someone can disable their browser from sending a cookie if it's already in their local browser's cookie information, but they can disable cookies to not originally add that information to their cookie file).

Anyway, you can only check if they have a valid cookie and process information based on that (or not). Does the cookie have some type of purpose? If it does (and I assume it does), then whatever script that uses the cookie information will be the key element in this scenario. It can see if they have the correct cookie information (or if they have any) or not. If you can better explain what you're doing, in what way and why, it will be a lot easier to make some suggestions.

__________________
Robert McGregor
URL: http://www.2host.com
Email: robertm@(nospam)2host.com

Reply With Quote
Reply

Related posts from TheWhir.com
Title Type Date Posted
New UK Cookie Law Impacts Customers - What About Hosts? Web Hosting News 2012-05-28 14:16:07
Web Hosts, Internet Industry Prepare for World IPv6 Launch Web Hosting News 2012-05-23 17:16:15
Certificate Authority Comodo Releases Free E-commerce Site Scanning Tool Web Hosting News 2011-06-23 17:27:14
Compuware Supports World IPv6 Day with World Performance Comparison Tool Web Hosting News 2011-06-08 14:42:33
LinkedIn Access Cookie Opens Users to Security Breaches, says Security Analyst Web Hosting News 2011-05-24 14:19:01


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes
Postbit Selector

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Forum Jump
Login:
Log in with your username and password
Username:
Password:



Forgot Password?
Advertisement:
Web Hosting News:



 

X

Welcome to WebHostingTalk.com

Create your username to jump into the discussion!

WebHostingTalk.com is the largest, most influentual web hosting community on the Internet. Join us by filling in the form below.


(4 digit year)

Already a member?