Re: [Catalyst] Sharing session and login data
Il giorno mer, 28/02/2007 alle 14.14 +, Ian Docherty ha scritto: I might be asking the blindingly obvious, but do the two applications use the same domain? Yep sure;) in the afternoon i'm working on it.I'll let you know how i solve the problem. Thanks for suggestions -- Tiziano [EMAIL PROTECTED] ___ List: Catalyst@lists.rawmode.org Listinfo: http://lists.rawmode.org/mailman/listinfo/catalyst Searchable archive: http://www.mail-archive.com/catalyst@lists.rawmode.org/ Dev site: http://dev.catalyst.perl.org/
AW: [Catalyst] Session problems with IE and cookies
Hi! Most of the users of my cat apps use IE6/7, some (and I) Firefox. Some times in the past IE users couldn't login, deleting the cookies solved the problem, but it occurred only 3-4 times so I didn't investigate further. And what should I do against browser bugs?! -Alex -Ursprüngliche Nachricht- Von: Dylan Vanderhoof [mailto:[EMAIL PROTECTED] Gesendet: Mittwoch, 28. Februar 2007 18:25 An: The elegant MVC web framework Betreff: RE: [Catalyst] Session problems with IE and cookies Yeah, that's the exact issue. A majority of my users are using IE6/7, so this is really a major problem. -Dylan -Original Message- From: Marc Logghe [mailto:[EMAIL PROTECTED] Sent: Wednesday, February 28, 2007 5:03 AM To: Thomas Hartman Cc: The elegant MVC web framework Subject: RE: [Catalyst] Session problems with IE and cookies Not sure about that. I have exactly the same problem as Dylan. It is not specific for IE, Opera shows the very same problem. The user has to manually delete the cookie in order to login again. Not what you can call user friendly ;-) It seems that only Firefox is expiring the session cookie in the correct way. Also, why is it only us 2 having this problem ? Is everybody else using Firefox only ? Cheers, Marc ___ List: Catalyst@lists.rawmode.org Listinfo: http://lists.rawmode.org/mailman/listinfo/catalyst Searchable archive: http://www.mail-archive.com/catalyst@lists.rawmode.org/ Dev site: http://dev.catalyst.perl.org/ *** T-Systems Austria GesmbH Rennweg 97-99, 1030 Wien Handelsgericht Wien, FN 79340b *** Notice: This e-mail contains information that is confidential and may be privileged. If you are not the intended recipient, please notify the sender and then delete this e-mail immediately. *** ___ List: Catalyst@lists.rawmode.org Listinfo: http://lists.rawmode.org/mailman/listinfo/catalyst Searchable archive: http://www.mail-archive.com/catalyst@lists.rawmode.org/ Dev site: http://dev.catalyst.perl.org/
[Catalyst] IE6/7 HTTP POST form problems
Hi! Since about two month I'm fighting a problem some IE users have: on send of a form they don't receive an answer from the web server. Tcpdump shows that the packets arrive at the web server but apache2.2 just ignores them. I disabled https on the internal site to make debugging easier but the problem still exists. The time the error occurred first was about the same as I upgraded from apache2 to 2.2 (debian etch). I search for bug reports on apache2.2 but didn't find any. Swapping mod_perl for fastcgi didn't change anything either. It also makes no difference if the client accesses the web server directly or over a proxy. Strange is that the problem never occurs on my workstation, neither with IE6 (MS virtual pc image) nor with IE7. Has anyone experienced something similar or has suggestions? Thanks in advance! With best regards Alexander Hartmaier T-Systems Austria GesmbH Rennweg 97-99 A-1030 Vienna phone: +43-(0)57057-4320 mobile: +43-(0)676-8642-4320 *** T-Systems Austria GesmbH Rennweg 97-99, 1030 Wien Handelsgericht Wien, FN 79340b *** Notice: This e-mail contains information that is confidential and may be privileged. If you are not the intended recipient, please notify the sender and then delete this e-mail immediately. *** ___ List: Catalyst@lists.rawmode.org Listinfo: http://lists.rawmode.org/mailman/listinfo/catalyst Searchable archive: http://www.mail-archive.com/catalyst@lists.rawmode.org/ Dev site: http://dev.catalyst.perl.org/
Re: AW: [Catalyst] Session problems with IE and cookies
Zitat von Hartmaier Alexander [EMAIL PROTECTED]: Most of the users of my cat apps use IE6/7, some (and I) Firefox. Some times in the past IE users couldn't login, deleting the cookies solved the problem, but it occurred only 3-4 times so I didn't investigate further. And what should I do against browser bugs?! We have this problem since we started using Apache::Session + Apache::Cookie about 5 years ago. Never had the time to actually look into it. It happens only infrequently but often enough to have it included in our site FAQs. Said application is running under Apache 1.3.x + mod_perl + Mason + MySQL - no Catalyst involved! --Tobias ___ List: Catalyst@lists.rawmode.org Listinfo: http://lists.rawmode.org/mailman/listinfo/catalyst Searchable archive: http://www.mail-archive.com/catalyst@lists.rawmode.org/ Dev site: http://dev.catalyst.perl.org/
Re: AW: [Catalyst] Session problems with IE and cookies
Today I had that issue. I couldn't login on my site even though I've tried for more times with 2 different user names. I have also tried closing and opening again the browser, but I still wasn't able to login. So I wanted to read the HTTP headers sent and received by IE before trying to delete the cookies. For doing that, I needed to click with the mouse cursor in the text area at the bottom of the browser window where IE Headers plug in shows the headers (for beeing able to read it with the screen reader). After clicking there, the system started to work very slow, so I opened the task manager in order to see what consumes that much, and I have seen that the browser was using 99% of the processor. I've killed that huge process, and after opening again IE, I was able to login fine, with no other problems and no need to delete the cookies. So I think this bug is definitely related to IE or Windows and not with mod_perl, Apache or Catalyst. Octavian - Original Message - From: Tobias Kremer [EMAIL PROTECTED] To: Hartmaier Alexander [EMAIL PROTECTED] Cc: The elegant MVC web framework catalyst@lists.rawmode.org Sent: Thursday, March 01, 2007 12:22 PM Subject: Re: AW: [Catalyst] Session problems with IE and cookies Zitat von Hartmaier Alexander [EMAIL PROTECTED]: Most of the users of my cat apps use IE6/7, some (and I) Firefox. Some times in the past IE users couldn't login, deleting the cookies solved the problem, but it occurred only 3-4 times so I didn't investigate further. And what should I do against browser bugs?! We have this problem since we started using Apache::Session + Apache::Cookie about 5 years ago. Never had the time to actually look into it. It happens only infrequently but often enough to have it included in our site FAQs. Said application is running under Apache 1.3.x + mod_perl + Mason + MySQL - no Catalyst involved! --Tobias ___ List: Catalyst@lists.rawmode.org Listinfo: http://lists.rawmode.org/mailman/listinfo/catalyst Searchable archive: http://www.mail-archive.com/catalyst@lists.rawmode.org/ Dev site: http://dev.catalyst.perl.org/ ___ List: Catalyst@lists.rawmode.org Listinfo: http://lists.rawmode.org/mailman/listinfo/catalyst Searchable archive: http://www.mail-archive.com/catalyst@lists.rawmode.org/ Dev site: http://dev.catalyst.perl.org/
AW: AW: [Catalyst] IE6/7 HTTP POST form problems
Did both already and didnt find anything similar ;-( Which is the official irc channel for those types of problems? Couldnt find a hint to IRC on the apache webpage. @IE: without IE7 (I mean the awesome JS library by Dean Edwards http://dean.edwards.name/IE7/ not the browser) I would still use frames and no divs -Alex Von: John Napiorkowski [mailto:[EMAIL PROTECTED] Gesendet: Donnerstag, 01. März 2007 17:18 An: The elegant MVC web framework Betreff: Re: AW: [Catalyst] IE6/7 HTTP POST form problems - Original Message From: Hartmaier Alexander [EMAIL PROTECTED] To: The elegant MVC web framework catalyst@lists.rawmode.org Sent: Thursday, March 1, 2007 11:02:12 AM Subject: AW: [Catalyst] IE6/7 HTTP POST form problems Hi John! I think it might be that apache2.2 handles http post packets stricter than version 2.0 As said before I see the packets arriving at the web server, but they are just ignored. The request isnt even logged in the access log of apache, thats why I assume an apache problem. Ive already changed the network card on one box and reinstalled the other on new hardware (HP DL320 G2). Im out of ideas -Alex This probably isn't the best support list for this problem. I'd recommend taking a look at: http://httpd.apache.org/lists.html and search the archives there to see if anyone else has a similar problem and got a solution. Also you can look at the Apache bug report page (http://httpd.apache.org/bug_report.html) to see if there is something like it. If not you can subscribe to one of the support lists or see if you can get onto IRC and see if someone is around (usually is). I feel your pain with IE. If I billed MS for all the time I've wasted with CSS or other related browser issues I could take a very nice vacation! --John [Remainder of post snipped for clarity, see thread for details] _ The fish are biting. Get http://us.rd.yahoo.com/evt=49679/*http:/searchmarketing.yahoo.com/arp/spons oredsearch_v2.php?o=US2140cmp=Yahooctv=Q107Taglines=Ys2=EMb=50 more visitors on your site using Yahoo! Search Marketing. smime.p7s Description: S/MIME cryptographic signature ___ List: Catalyst@lists.rawmode.org Listinfo: http://lists.rawmode.org/mailman/listinfo/catalyst Searchable archive: http://www.mail-archive.com/catalyst@lists.rawmode.org/ Dev site: http://dev.catalyst.perl.org/
Re: [Catalyst] Regex -- optional index.html
On 01/03/07, Bill Moseley [EMAIL PROTECTED] wrote: I want to match these two (not using Chained, btw): /training/webcasts/webcast_data/186/ /training/webcasts/webcast_data/186/index.html But not this: /training/webcasts/webcast_data/186/foo.html (snip) I tried these: (snip) Regex('^training/webcasts/webcast_data/(\d+)/?(index.html)?$') matches: ../186/index.html : yes ../186/foo.html : yes ../186/ : yes ../186 : yes (snip) Actually, this one works for me quite well - it should work fine for following scenarios: .../186 .../186/ .../186/index.html In any other case, it will fail, as you can see: $ perl -e 'print YES if webcast_data/186 =~ m|^webcast_data/(\d+)/?(index\.html)?$|;' YES $ perl -e 'print YES if webcast_data/186/ =~ m|^webcast_data/(\d+)/?(index\.html)?$|;' YES $ perl -e 'print YES if webcast_data/186/index.html =~ m|^webcast_data/(\d+)/?(index\.html)?$|;' YES $ perl -e 'print YES if webcast_data/186/asdf.html =~ m|^webcast_data/(\d+)/?(index\.html)?$|;' Regards, Boris ___ List: Catalyst@lists.rawmode.org Listinfo: http://lists.rawmode.org/mailman/listinfo/catalyst Searchable archive: http://www.mail-archive.com/catalyst@lists.rawmode.org/ Dev site: http://dev.catalyst.perl.org/
Re: [Catalyst] Regex -- optional index.html
How about this: m!^training/webcasts/webcast_data/(\d+)/(index.html|$)! On Thu, 2007-03-01 at 14:51 -0800, Bill Moseley wrote: I want to match these two (not using Chained, btw): /training/webcasts/webcast_data/186/ /training/webcasts/webcast_data/186/index.html But not this: /training/webcasts/webcast_data/186/foo.html $ perl -le 'print YES if training/webcasts/webcast_data/186/index.html =~ m!^training/webcasts/webcast_data/(\d+)/(index.html)?$!' YES $ perl -le 'print YES if training/webcasts/webcast_data/186/ =~ m!^training/webcasts/webcast_data/(\d+)/(index.html)?$!' YES $ perl -le 'print YES if training/webcasts/webcast_data/186/foo.html =~ m!^training/webcasts/webcast_data/(\d+)/(index.html)?$! I tried these: Regex('^training/webcasts/webcast_data/(\d+)/(index.html)?$') matches: ../186/index.html : yes ../186/foo.html : no ../186/ : no ../186 : no Regex('^training/webcasts/webcast_data/(\d+)/?(index.html)?$') matches: ../186/index.html : yes ../186/foo.html : yes ../186/ : yes ../186 : yes Regex('^training/webcasts/webcast_data/(\d+)(/?index.html)?$') matches: ../186/index.html : yes ../186/foo.html : yes ../186/ : yes ../186 : yes ___ List: Catalyst@lists.rawmode.org Listinfo: http://lists.rawmode.org/mailman/listinfo/catalyst Searchable archive: http://www.mail-archive.com/catalyst@lists.rawmode.org/ Dev site: http://dev.catalyst.perl.org/
RE: [Catalyst] Session problems with IE and cookies
I'm not really sure how to write a test case for something that only fails using IE (as best I can tell). Any suggestions? -D -Original Message- From: Kieren Diment [mailto:[EMAIL PROTECTED] Sent: Thursday, March 01, 2007 1:39 AM To: The elegant MVC web framework Subject: Re: [Catalyst] Session problems with IE and cookies Can someone with access to the problem platform rig up a minimal app and a failing test case please. Not that I'm volunteering to fix it or anything, it's just that's the best way to get it fixed. http://www.catalystframework.org/calendar/2006/7 should point you in the right direction though. On another vein of thought I wonder if HTTP::Recorder would illuminate the problem at all. It's a bit buggy though so that would be a bit of a long shot. ___ List: Catalyst@lists.rawmode.org Listinfo: http://lists.rawmode.org/mailman/listinfo/catalyst Searchable archive: http://www.mail-archive.com/catalyst@lists.rawmode.org/ Dev site: http://dev.catalyst.perl.org/
Re: [Catalyst] Regex -- optional index.html
On Fri, Mar 02, 2007 at 12:08:42AM +0100, Boris ?erani? wrote: Regex('^training/webcasts/webcast_data/(\d+)/?(index.html)?$') matches: ../186/index.html : yes ../186/foo.html : yes ../186/ : yes ../186 : yes (snip) Actually, this one works for me quite well - it should work fine for following scenarios: .../186 .../186/ .../186/index.html In any other case, it will fail, as you can see: Yes, when tested in Perl it works that way, but in Catalyst in other cases it still matches. That's the problem. Seems that Catalyst first tries to match the full path, then tries to match a reduced path. Adding a bit of debugging to Regex.pm's match() method: Request = /training/webcasts/webcast_data/162/foo.html Checking [training/webcasts/webcast_data/162/foo.html] Checking [training/webcasts/webcast_data/162] *MATCHED* So that's why it's matchine when I don't want it to match. -- Bill Moseley [EMAIL PROTECTED] ___ List: Catalyst@lists.rawmode.org Listinfo: http://lists.rawmode.org/mailman/listinfo/catalyst Searchable archive: http://www.mail-archive.com/catalyst@lists.rawmode.org/ Dev site: http://dev.catalyst.perl.org/