SnippetMaster Support Forums
Return to main website
 
May 23, 2012, 07:53:29 PM
* Show unread posts since last visit.
* Show new replies to your posts.
Welcome, Guest. Please login or register.
Did you miss your activation email?
May 23, 2012, 07:53:29 PM

Login with username, password and session length
Search:  
Advanced search
* Home Help Search Login Register
SnippetMaster Support Forums  |  General  |  General Discussion & Support  |  Topic: Session Timed Out. « previous next »
Pages: [1] Print
Author Topic: Session Timed Out.  (Read 1801 times)
psynaut

Posts: 3


[-] Session Timed Out.
« on: March 28, 2007, 03:09:00 PM »

Report to moderator   Logged
admin
Forum Administrator
*
Posts: 3070

SnippetMaster Author


WWW
[-] Re: Session Timed Out.
« Reply #1 on: March 28, 2007, 03:11:32 PM »

The session time-out should be the same regardless of what computer he is using...  it is a "server side" setting.

Is this problem consistant for him?  If he reboots, does it still do this?  Has he been able to recreate the problem on any other machine?  Did it always do this for him, or just started recently?

Report to moderator   Logged
psynaut

Posts: 3


[-] Re: Session Timed Out.
« Reply #2 on: March 29, 2007, 04:39:12 PM »

Report to moderator   Logged
admin
Forum Administrator
*
Posts: 3070

SnippetMaster Author


WWW
[-] Re: Session Timed Out.
« Reply #3 on: March 29, 2007, 08:08:11 PM »

Honestly, I've tried to figure this one out and I just can't.  The session expiry system is 100% based on the server, and the php session information.

Basically, the way it works is like this:

1) When you run any page in snippetmaster, it creates (or updates) a "PHP session".   

(The "php session" is a file that exists in the temporary location of the web server, and contains info (encrypted of course) about the user, if they're logged in, what permissions they have, etc.)

2) Each time you run a page in snippetmaster, it updates the "timestamp" of the session file.

3) The server runs a "garbage collection" process every 25 - 30 minutes or so, and deletes any session file from the temporary location that haven't been updated for the last 25 - 30 minutes.

4) If snippetmaster runs a page, and the "session file" that it expects to be there is gone (it was deleted), then it displays the session error.  (ie: If you leave snippetmaster for a while, go have lunch, and then come back, the server will have deleted your php session file.. and so snippetmaster won't be able to find it any more and it displays the error.)

This has absolutely nothing to do with the browser.  The browser, in fact, has no permissions or ability to touch session files on the server, which are located in the server's temporary storage area, outside of the browsers "reach".

This is why I'm very confused about this... because for this error to occur, the session file needs to be deleted, etc.. and the browser should not be able to do that.

I'm totally open to ideas on what is causing the problem.. but unless the web server is really poorly configured from a security perspective, there should be no way that the browser is causing the session file to be deleted and triggering the error.

But... obviously something is doing it, otherwise you wouldn't see the error.

All this to say... I have no idea.  Sad

Report to moderator   Logged
psynaut

Posts: 3


[-] Re: Session Timed Out.
« Reply #4 on: March 29, 2007, 10:05:33 PM »

Report to moderator   Logged
taragh

Posts: 1


[-] Re: Session Timed Out.
« Reply #5 on: May 16, 2007, 09:44:47 AM »

I think I am getting a similar error. I am working on a Mac and use snippetmaster with no problem on log in and sessions in Safari and Firefox. I then went to test on Windows XP with IE 6.0. I log in ok and then select a page to edit and immediately get session expired. I have the Mac and PC side by side to test. Only the PC experiences this problem.
I'm not technically knowledgeable. I do have MacAffee installed for security. I know you said it should be a server issue but this seems to be related to the browser/machine.
Any advice would be helpful as my client whom I purchased the pro for will be using pc and most likely internet explorer.
Report to moderator   Logged
jww

Posts: 2


[-] Re: Session Timed Out.
« Reply #6 on: September 11, 2010, 05:37:59 AM »

An old thread but still the same problem. I read all the other threads, checked the system variables, etc.

And while I know it's all supposed to be a server issue - apparently it is not entirely for whatever reason.

I get all the same random session time outs after a few seconds or minutes that others have reported in the past ONLY using IE - Firefox works just fine. I'm on IE 8, whatever the latest patch is.

Fortunately, the kids using it are all on Firefox but I'd like to try to fix this if possible.
Report to moderator   Logged
jww

Posts: 2


[-] Re: Session Timed Out.
« Reply #7 on: September 11, 2010, 05:39:23 AM »

to add - the problem appears on multiple computers, before and after reboots. Always trouble on IE (but sporadic - sometime it works for minutes, sometimes for seconds), always works on Firefox.
Report to moderator   Logged
Pages: [1] Print 
SnippetMaster Support Forums  |  General  |  General Discussion & Support  |  Topic: Session Timed Out. « previous next »
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.16 | SMF © 2011, Simple Machines Valid XHTML 1.0! Valid CSS!