Setting Cookies to Secure Blocks Msg Posting

ianchan - November 4, 2008 - 22:06
Project:Chat Room
Version:6.x-2.0-beta3
Component:Code
Category:bug report
Priority:normal
Assigned:justinrandell
Status:closed
Description

I've found that turning on secure cookies with "ini_set('session.cookie_secure',1);" prevents posting of messages. Is there an easy patch for this (other then turning off secure cookies)?

BTW - great module - thank you!

#1

Darren Oh - November 4, 2008 - 22:14
Category:support request» bug report

Messages must be getting posted using a non-SSL URL.

#2

justinrandell - November 11, 2009 - 12:41
Version:5.x-1.9» 6.x-2.x-dev
Assigned to:Anonymous» justinrandell

going to test if this still applies to 6.x-2 branch.

#3

justinrandell - November 19, 2009 - 12:30

ianchan - can you log in at all?

i can't reproduce this after setting "ini_set('session.cookie_secure',1);" in settings.php.

the chatroom posts messages back to the same protocol that the page was served as. so, if you load the chat UI from 'http', it will post back as 'http', same for 'https'.

can you try to reproduce this with the latest code from cvs?

#4

justinrandell - November 19, 2009 - 15:37
Version:6.x-2.x-dev» 6.x-2.0-beta3
Status:active» fixed

please reopen if this doesn't work for you with 6.x-2.0-beta3.

#5

justinrandell - November 22, 2009 - 09:55
Status:fixed» closed
 
 

Drupal is a registered trademark of Dries Buytaert.