rejetto forum

"Bad Session" on both New Folder and Rename

0 Members and 1 Guest are viewing this topic.

Offline bobwolfson

  • Occasional poster
  • *
    • Posts: 10
    • View Profile
In both 2.3f and 2.3g, I get a "Bad Session" error whenever I try to create a New Folder or Rename something.

I'm running the server under Win 7.  The error occurs whether I browse to the server from the same machine or a different one.  It happens under both Chrome and Firefox.

I've read other posts in regards to the session cookie, "HFS_SID_".  I've tried inserting code in the template for 2.3f to delete that cookie if the AJAX call comes back "bad session":

         if (res !== "ok") {
            alert("{.!Error.}: " + ">>>" + res + "<<<" );
            if (res.substring(0,11) === 'bad session') {

I've tried clearing the cookie, closing the browser, closing the server, and trying again with no luck.  I can't find any situation where it works.

Other posts say it worked in 2.3e, but I can't find that version to download.

Is this fixable?

Offline bmartino1

  • Tireless poster
  • ****
    • Posts: 901
  • I'm only trying to help i mean no offense.
    • View Profile
    • My HFS Google Drive Shared Link
i have seen this issue with other users, but never encountered it...'error-bad-session'-when-creating-folders-in-2-3f/
(which i thought was fixed in 2.3f ...)
try clearing the cookie cashe on the two machine before starting a current version of hfs.


Files i try to keep and share can be found on my google drive:

Offline LeoNeeson

  • Tireless poster
  • ****
    • Posts: 769
  • Status: On hiatus (sporadically here)
    • View Profile
I bet the problem it's on your browser, who doesn't clean the cache properly. Cleaning the cache may be tricky, especially on new browsers (since they are configured by default to leave a lot of junk in the cache). You must have a 100% clean cache, to be sure this is a HFS problem.

Why don't you try using another browser, like for example, K-Meleon? (especially the portable version, so you can manually clean the cache, in case you need) > K-Meleon v75.1 (2015-09-19) [Portable version]

I don't know, but this may help... ;)

Offline rejetto

  • Administrator
  • Tireless poster
  • *****
    • Posts: 13310
    • View Profile
do you see "customized template" in the bottom bar of HFS ?

recently i added this instruction to the template that deletes the bad cookie

you should have it in yours