aMule Forum

Please login or register.

Login with username, password and session length
Advanced search  

News:

We're back! (IN POG FORM)

Author Topic: Answer to some problems of php webserver  (Read 1899 times)

Karhandras

  • Approved Newbie
  • *
  • Karma: 0
  • Offline Offline
  • Posts: 47
Answer to some problems of php webserver
« on: November 15, 2005, 11:26:19 PM »

Hi all,
I just compiled for the n-th time amuled, but this is the first time I use the php webserver.

After compiling (all OK) I noticed that I can login in the webserver, but when I changed page (going to search or to server list etc...) it ALWAYS brings me to the login page, just as if the session was no more valid.

After a few tries (amuled with webserver enabled in amule.conf, amuled -f and webserver started by command line and settings in amule.conf, amuled -f and webserver started by command line and settings in remote.conf) I left my firefox 1.0.7 to fire up IE (  X( ) and I noticed that all was correctly working!!!!

Changing options, clearing cookies and cache, I finally got that the problem is the fasterfox extension for firefox.

Maybe this extension makes problems with session, anyway uninstalling the extension all works as it should.


Just for chronicle my version is CVS 20051108

Hope this could explain something...
Logged

lfroen

  • Guest
Re: Answer to some problems of php webserver
« Reply #1 on: November 16, 2005, 07:58:30 AM »

What I don't understand is why you so puzzled - It is clearly stated in FasterFox FAQ. Let me quote:
Quote
Can prefetching "mess" things up?

Since prefetching is basically the same as clicking on a link, and clicking on a dynamic link can perform some action such as "logging you out" or "emptying your cart", only static content is prefetched by Fasterfox.  

I have no idea how they distiguish "static content", but in amuleweb link to login.html is not static - it is interpreted as logout request.
There're other tweaks in firefox similar to this one, and they all suffer from same problem. So my advise would be "beware of consiquences" if you start tweaking.
Logged

Karhandras

  • Approved Newbie
  • *
  • Karma: 0
  • Offline Offline
  • Posts: 47
Re: Answer to some problems of php webserver
« Reply #2 on: November 16, 2005, 09:16:42 AM »

Quote
Originally posted by lfroen
What I don't understand is why you so puzzled
[...]
I have no idea how they distiguish "static content", but in amuleweb link to login.html is not static - it is interpreted as logout request.

This is why I'm puzzled... if something is written so explicitly, I assume it works :)
Logged