HTML Programming
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
User Name:
Password:
Remember me

The Shed is going Social! Join us on FaceBook and Twitter and chime in on the conversation.

Go Back   Dev Shed ForumsWeb DesignHTML Programming

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Rate Thread Display Modes
 
Unread Dev Shed Forums Sponsor:
  #1  
Old March 9th, 2012, 11:01 AM
ironbut ironbut is offline
Registered User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Sep 2003
Location: Hampshire, UK
Posts: 7 ironbut User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 43 m 51 sec
Reputation Power: 0
Question Conflicting cookies?

Hi I hope this is the right area.

I have two identical web server boxes at someones premises that each host a CCTV monitoring interface accessible via the web. eg. view 8 cameras from one box and 8 from the other. Their viewing applets are written in Java by the looks of it.

I can view each server individually, but if I open two browser windows to view both at once, they interfere with each other.

I get the initial login screen and can log into both successfully where I can see camera 1, but if i try to click on the configuration tab or status tab, I get 'You are not allowed to view this page.' on one but the other is fine.

I'm guessing this is because they are hosted from the same URL but different ports ie. www.blah.com:80 www.blah.com:82 and both are using the same set of cookies causing some kind of conflict.

I can kind of verify this because by using different browsers on the same machine it works flawlessly. This is a workaround of course, but I wondered if anyone knew how i could stop this 'cookie conflict'

The cookies I have listed for this site in firefox are:-

activatedmode - digital
viewsizemode - 100
4x3 - false
language - en
session - 6b9a1bbff09267d94eaf45881cf8aacb
user - administrator
current_page - null


It is not critical, but is making me because I'm sure it should be simple.

Thanks in advance!

Reply With Quote
  #2  
Old March 10th, 2012, 09:55 AM
E-Oreo's Avatar
E-Oreo E-Oreo is offline
Lost in code
Dev Shed God 7th Plane (8000 - 8499 posts)
 
Join Date: Dec 2004
Posts: 8,052 E-Oreo User rank is General 92nd Grade (Above 100000 Reputation Level)E-Oreo User rank is General 92nd Grade (Above 100000 Reputation Level)E-Oreo User rank is General 92nd Grade (Above 100000 Reputation Level)E-Oreo User rank is General 92nd Grade (Above 100000 Reputation Level)E-Oreo User rank is General 92nd Grade (Above 100000 Reputation Level)E-Oreo User rank is General 92nd Grade (Above 100000 Reputation Level)E-Oreo User rank is General 92nd Grade (Above 100000 Reputation Level)E-Oreo User rank is General 92nd Grade (Above 100000 Reputation Level)E-Oreo User rank is General 92nd Grade (Above 100000 Reputation Level)E-Oreo User rank is General 92nd Grade (Above 100000 Reputation Level)E-Oreo User rank is General 92nd Grade (Above 100000 Reputation Level)E-Oreo User rank is General 92nd Grade (Above 100000 Reputation Level)E-Oreo User rank is General 92nd Grade (Above 100000 Reputation Level)E-Oreo User rank is General 92nd Grade (Above 100000 Reputation Level)E-Oreo User rank is General 92nd Grade (Above 100000 Reputation Level)E-Oreo User rank is General 92nd Grade (Above 100000 Reputation Level)  Folding Points: 945 Folding Title: Novice Folder
Time spent in forums: 2 Months 1 Day 4 h 55 m 4 sec
Reputation Power: 7104
You would have to move one of the servers to a different domain; cookies are not tied to ports.

The other alternative would be modifying the Java code to remove the conflict.
__________________
PHP FAQ
How to program a basic, secure login system using PHP
Connect with me on LinkedIn


Quote:
Originally Posted by Spad
Ah USB, the only rectangular connector where you have to make 3 attempts before you get it the right way around

Reply With Quote
Reply

Viewing: Dev Shed ForumsWeb DesignHTML Programming > Conflicting cookies?

Developer Shed Advertisers and Affiliates



Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


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

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump

Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 


Powered by: vBulletin Version 3.0.5
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.

© 2003-2013 by Developer Shed. All rights reserved. DS Cluster - Follow our Sitemap