Home Private Messages Search
CPG Dragonfly™ CMS Dedicated Server & Bandwidth Sponsored by DedicatedNOW
Toggle Content
 
Forums ⇒ General ⇒ This Site :: Archives ⇒ Bad Request :: Archived


Bad Request :: Archived
Post your comments about this site or bugs found on this website in here. Please post errors, bugs or other problems found in your installation in the appropriate forum.
Go to page 1, 2  Next
Post new topic    Revive this topic    Printer Friendly Page     Forum Index ⇒  This Site

Topic Archived View previous topic :: View next topic  
Author Message
sarah
Debugger
Debugger

Offline Offline
Joined: Mar 25, 2005
Posts: 2130

PostPosted: Sun Feb 26, 2006 5:03 am
Post subject: Bad Request

Every once in a while, when refreshing the forums index, a screen like the maintenance screen shows up with the message that dragonflycms.org/Forums.html is a bad request.


sarah's server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS)
Linux/1.3.37/4.1.21-standard/4.4.4/9.1.1
Back to top
View user's profile Send e-mail Visit poster's website
run0
Supporter
Supporter

Offline Offline
Joined: Jun 28, 2004
Posts: 1559

PostPosted: Sun Feb 26, 2006 5:20 am
Post subject: Re: Bad Request

confirmed

_________________


run0's server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS)
Linux/1.3.33 (Unix)/4.0.22-standard/4.3.9/DF 9.x
Back to top
View user's profile Visit poster's website
pretzy
500+ Posts Club
500+ Posts Club

Offline Offline
Joined: Sep 09, 2005
Posts: 519
Location: Australia
PostPosted: Sun Feb 26, 2006 6:19 am
Post subject: Re: Bad Request

yes me too

im also getting a lot of cookie errors on another DF site

_________________
Pretzy's Place Pertzel Family Tree History Genealogy
Riverlife Church Henty

pretzy's server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS)
XP_Apache 2.2.2_MySQL 5.0.21_PHP 5.1.4_CPGNuke 9.1.1
Back to top
View user's profile Visit poster's website
xfsunoles
XHTML Specialist
XHTML Specialist

Offline Offline
Joined: Apr 30, 2004
Posts: 2502
Location: Melbourne, Florida
PostPosted: Sun Feb 26, 2006 6:20 am
Post subject: Re: Bad Request

I Guess new Session system check on your session...........

i do confirmed it.


xfsunoles's server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS)
Apache/1.3.34 (Unix)/4.0.25-standard/4.4.1/CVS
Back to top
View user's profile Visit poster's website AIM Address MSN Messenger Yahoo Messenger Photo Gallery
Wide
Platinum Supporter
Platinum Supporter

Offline Offline
Joined: Aug 07, 2004
Posts: 294
Location: Playa Del Rey, CA
PostPosted: Sun Feb 26, 2006 6:32 am
Post subject: Re: Bad Request

Quote::
Bad Request
The URL that you requested, /Forums/search/search_id=newposts.html, was a bad request.session expired


[ Go Back ]

Been getting it all day here

02/25/06


Wide's server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS)
Debian/Apache2/MySQL 4.1.15-Debian/PHP4 4.4.2-1build1/9.1.1
Back to top
View user's profile Visit poster's website
djdevon3
Gold Supporter
Gold Supporter

Offline Offline
Joined: Aug 05, 2004
Posts: 4363

PostPosted: Sun Feb 26, 2006 9:59 am
Post subject: Re: Bad Request

i've gotten it twice today so far. i just got another one a few seconds ago. i was over at myndworx checking out their forums and used my dragonfly bookmark to come back here and got the error. it displayed for a few seconds then put me in the news where my bookmark is directed. so no big deal.


djdevon3's server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS)
Linux/1.3.33/4.4/4.3.11
Back to top
View user's profile Visit poster's website Photo Gallery
DJ Maze
Developer
Developer

Offline Offline
Joined: Apr 19, 2004
Posts: 5683
Location: http://tinyurl.com/5z8dmv
PostPosted: Sun Feb 26, 2006 1:11 pm
Post subject: Re: Bad Request

a session expires after 24 minutes (default php behavior).
However when expired the data gets deleted and you start a new one.

There's a script that managed to post as anonymous using a fixed session cookie so i'm checking if this forcefull session destroyer will work.
This means you can't use your previous session ID but just get a new one.


DJ Maze's server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS)
Fedora 15 / 2.2.22 / 5.5.20 / 5.3.10 / CVS
Back to top
View user's profile Visit poster's website Yahoo Messenger Photo Gallery
Pitcher
Creative Designer
Creative Designer

Offline Offline
Joined: Apr 20, 2004
Posts: 147
Location: Norway
PostPosted: Sun Feb 26, 2006 2:02 pm
Post subject: Re: Bad Request

I too get this error message, and all the new forum message is marked as read, even I don't have been in the forum today before now.

_________________


Pitcher's server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS)
ClarkConnect 3.2/Apache 2.0.x/MySQL 4.1.x/PHP 4.3.x/Dragonfly CVS
Back to top
View user's profile Visit poster's website
djdevon3
Gold Supporter
Gold Supporter

Offline Offline
Joined: Aug 05, 2004
Posts: 4363

PostPosted: Sun Feb 26, 2006 2:16 pm
Post subject: Re: Bad Request

so why did this start happening all of a sudden? what are you guys up to? i'm sure it's good things but i'd be interested to hear what your shooting for when it happened.


djdevon3's server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS)
Linux/1.3.33/4.4/4.3.11
Back to top
View user's profile Visit poster's website Photo Gallery
Kuragari
500+ Posts Club
500+ Posts Club

Offline Offline
Joined: Apr 25, 2005
Posts: 563
Location: AnimeEgo
PostPosted: Sun Feb 26, 2006 2:26 pm
Post subject: Re: Bad Request

djdevon3 wrote:
so why did this start happening all of a sudden? what are you guys up to? i'm sure it's good things but i'd be interested to hear what your shooting for when it happened.

DJMaze wrote:
There's a script that managed to post as anonymous using a fixed session cookie so i'm checking if this forcefull session destroyer will work.

Wink

I've seen this happen a few times aswell, and my first thought after seeing djmaz's explanation was "so now it works the way it should" sessions are supposed to expire and a new ID should be given when you start a new session.
However i think the error page about expired sessions should be skipped if it's not a secured area such as the admin area. I'd hate to explain to all my users why theres an error everytime they refresh a page, I don't think they should be notified that their session expired, just start a new one and send them to the page the requested immediately.

My 2 cents Very Happy


Kuragari's server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS)
Linux 2.6.9 / 1.3.34 / 4.1.14 / 4.4.1 / CVS
Back to top
View user's profile Visit poster's website MSN Messenger Yahoo Messenger
WebSiteGuru
1000+ Posts Club
1000+ Posts Club

Offline Offline
Joined: Jun 09, 2005
Posts: 2318

PostPosted: Sun Feb 26, 2006 2:38 pm
Post subject: Re: Bad Request

Kuragari wrote:
djdevon3 wrote:
so why did this start happening all of a sudden? what are you guys up to? i'm sure it's good things but i'd be interested to hear what your shooting for when it happened.

DJMaze wrote:
There's a script that managed to post as anonymous using a fixed session cookie so i'm checking if this forcefull session destroyer will work.

Wink

I've seen this happen a few times aswell, and my first thought after seeing djmaz's explanation was "so now it works the way it should" sessions are supposed to expire and a new ID should be given when you start a new session.
However i think the error page about expired sessions should be skipped if it's not a secured area such as the admin area. I'd hate to explain to all my users why theres an error everytime they refresh a page, I don't think they should be notified that their session expired, just start a new one and send them to the page the requested immediately.

My 2 cents Very Happy

I agreed with you there Karagari, I rather not want to explain that to my users too.

_________________
Lead Theme Designer - WebSiteGuru Designs

WebSiteGuru's server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS)
Linux 2.6.9 / Apache 2.2.6 / MySQL 5.0.27 / PHP 5 / DF Version 9.2.1
Back to top
View user's profile Visit poster's website Yahoo Messenger
DJ Maze
Developer
Developer

Offline Offline
Joined: Apr 19, 2004
Posts: 5683
Location: http://tinyurl.com/5z8dmv
PostPosted: Sun Feb 26, 2006 4:03 pm
Post subject: Re: Bad Request

I did try a redirect but a redirecting page doesn't destroy the cookie which caused it to be endless looping. You must show a temporary page that refreshes to properly destroy it.

The issue is that $_COOKIE[session_name()] exists and session_start() always uses that "expired" ID.

unset($_COOKIE[session_name()]) is unreliable since we don't know in which PHP versions its protected.


DJ Maze's server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS)
Fedora 15 / 2.2.22 / 5.5.20 / 5.3.10 / CVS
Back to top
View user's profile Visit poster's website Yahoo Messenger Photo Gallery
Kuragari
500+ Posts Club
500+ Posts Club

Offline Offline
Joined: Apr 25, 2005
Posts: 563
Location: AnimeEgo
PostPosted: Sun Feb 26, 2006 4:29 pm
Post subject: Re: Bad Request

DJMaze wrote:
I did try a redirect but a redirecting page doesn't destroy the cookie which caused it to be endless looping. You must show a temporary page that refreshes to properly destroy it.

Well, that shows how much I know about sessions Embarassed

I guess a redirection page isn't a big deal, but my main point was the error page. I think it might make people think they didnt something wrong, or the site is broken if they keep getting error messages. Maybe a different message like "Redirecting you to the requested page" or something similar Wink


Kuragari's server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS)
Linux 2.6.9 / 1.3.34 / 4.1.14 / 4.4.1 / CVS
Back to top
View user's profile Visit poster's website MSN Messenger Yahoo Messenger
djdevon3
Gold Supporter
Gold Supporter

Offline Offline
Joined: Aug 05, 2004
Posts: 4363

PostPosted: Sun Feb 26, 2006 5:15 pm
Post subject: Re: Bad Request

yeah session expired would cause new users to think they've gotten an error or try to login again. i like kuragari's idea of showing a redirect message. that way no one is none the wiser. you wouldn't even have to explain it to df admins either as it would become part of the cms. but you might eventually get some questions about how to take out the redirect message and explain it then. thanks for explaining it more maze.


djdevon3's server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS)
Linux/1.3.33/4.4/4.3.11
Back to top
View user's profile Visit poster's website Photo Gallery
xfsunoles
XHTML Specialist
XHTML Specialist

Offline Offline
Joined: Apr 30, 2004
Posts: 2502
Location: Melbourne, Florida
PostPosted: Sun Feb 26, 2006 11:20 pm
Post subject: Re: Bad Request

What Happen if you try comment cpg_error('session expired', 400, get_uri());?


xfsunoles's server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS)
Apache/1.3.34 (Unix)/4.0.25-standard/4.4.1/CVS
Back to top
View user's profile Visit poster's website AIM Address MSN Messenger Yahoo Messenger Photo Gallery
Display posts from previous:   
Post new topic    Revive this topic    Printer Friendly Page    Forum Index ⇒  This Site
Page 1 of 2
All times are GMT
Go to page 1, 2  Next

Archive Revive
Username:
This is an archived topic - your reply will not be appended here.
Instead, a new topic will be generated in the active forum.
The new topic will provide a reference link to this archived topic.
 
   Toggle Content User Info

Welcome Anonymous

Nickname
Password
(Register)

   Toggle Content Last CVS commits
· Fixed .ico Expires header.
· Removed domain name from cookies so subdomains wont access them anymore.
· CSS and JS, case insensitives.
· CSS and JS, send correct HTTP 1.1 headers and fixed issues where themes and...
· Further security class improvements.
· 301 redirects on LEO changes
· Option to force 3xx http status codes
· Validate googlebot.com and google.com crawlers.
· CCBot
· Rss with etag and atom.

もっと読む

   Toggle Content Community

Support for DragonflyCMS in a other languages:

Deutsch
Español

   Toggle Content X-links
UltraEdit Browse Happy logo Firefox MySQL PostgreSQL Valid CSS! Valid XHTML 1.0! Unicode Encoded Badge NukeBiz Resources Raven DragonflyCMS Dedicated Now InsideSupport Lampe Berger

You are seeing squares or questionmarks on this page?

All content of this website is copyrighted by the Creative Commons NC-SA
The logos and trademarks used on this site are the property of their respective owners
We are not responsible for comments posted by our users, as they are the property of the poster.
Our server runs on a P3 1.2GHz with 512MB RAM with no accelerators
Support GoPHP5.org
Interactive software released under GNU GPL, Code Credits, Privacy Policy