Snitz Forums 2000
Snitz Forums 2000
Home | Profile | Register | Active Topics | Members | Search | FAQ
Username:
Password:
Save Password
Forgot your Password?

 All Forums
 Community Forums
 Community Discussions (All other subjects)
 what are sessions never closing?
 New Topic  Topic Locked
 Printer Friendly
Next Page
Author Previous Topic Topic Next Topic
Page: of 3

bjlt
Senior Member

1144 Posts

Posted - 07 December 2002 :  06:33:31  Show Profile
I got a message from my host.

quote:

According to our findings, you have sessions that are opening but never
closing, thus zombie sessions are kept opened and server resources are used to keep
those sessions open.



while I'm writing to my host to clarify on this, I wonder aren't sessions are auto closed after a period, say 20 minutes by default?

PeeWee.Inc
Senior Member

United Kingdom
1893 Posts

Posted - 07 December 2002 :  06:43:50  Show Profile  Visit PeeWee.Inc's Homepage
quote:

while I'm writing to my host to clarify on this, I wonder aren't sessions are auto closed after a period, say 20 minutes by default?

Thats what i thought

De Priofundus Calmo Ad Te Damine
Go to Top of Page

Gremlin
General Help Moderator

New Zealand
7528 Posts

Posted - 07 December 2002 :  07:19:08  Show Profile  Visit Gremlin's Homepage
They're supposed to timeout after a period of inactivity.

You could lower this value by placing Session.Timeout = 5 in your files somewhere at the top, this should reduce it to 5 minutes

http://www.15seconds.com/faq/ASP%202.0/424.htm

Kiwihosting.Net - The Forum Hosting Specialists
Go to Top of Page

ruirib
Snitz Forums Admin

Portugal
26364 Posts

Posted - 07 December 2002 :  07:46:00  Show Profile  Send ruirib a Yahoo! Message
I find that something about session expiration does not work very well. I keep a count of who is online using session vars and sometimes members are counted as being online indefinitely. Either session expiration does not happen as it should or the server has problems executing the procedures it should when the sessions expire...


Snitz 3.4 Readme | Like the support? Support Snitz too
Go to Top of Page

HuwR
Forum Admin

United Kingdom
20584 Posts

Posted - 08 December 2002 :  08:10:00  Show Profile  Visit HuwR's Homepage
sessions are supposed to time out, you shold write to your host and ask them how they expect you to close the sessions ?

I would be very interrested to see there answer, if they can dig themselves out of that hole, we should probably all go and host with them. Your site has absolutely no control of when a session gets released, it is entirley dependant on your users browser and the server itself, all you can do is shorten the session timeout value or lengthen it, but you can not control whether they actually timeout or not.
Go to Top of Page

Gremlin
General Help Moderator

New Zealand
7528 Posts

Posted - 08 December 2002 :  09:12:15  Show Profile  Visit Gremlin's Homepage
I'm looking forward to their answer !

You do have a small additional bit of control over things by using isClientConnected, however this is only usefull for terminating long running scripts if the user hits stop or closes their browser, I can't think of any way it could be used to issue say a Session.Abandon to release sessions an earlier than their natural timeout value.


Kiwihosting.Net - The Forum Hosting Specialists
Go to Top of Page

bjlt
Senior Member

1144 Posts

Posted - 08 December 2002 :  12:32:13  Show Profile
I've written to them yet haven't got their answer.

Well, my site hosted there is still under testing and we only have a few visitors, still I got that warning message, I wonder what will happen if the sites is actually up.

However, they said my site is closed temporarily untill I have solved the problem or I have to upgrade to dedicated server, but the site is still up. Maybe it's a malfunction of their server to send out the warning message, I'll wait and see what they will reply.

Anyway, I have to leave them when the site is ready, something wrong in the route between me and the host recently inspite of the fact it's quite fast when I rent the space, I did a tracert and found it's not their problem but somewhere in the middle, guess my local ISP swiched the international link provider.
Go to Top of Page

Deleted
deleted

4116 Posts

Posted - 08 December 2002 :  13:20:16  Show Profile
quote:

...or I have to upgrade to dedicated server,...


Maybe they are trying to sell you this...

Stop the WAR!
Go to Top of Page

bjlt
Senior Member

1144 Posts

Posted - 09 December 2002 :  22:28:09  Show Profile
ok, got their reply and I have to write to them agian.

quote:

Yes, those sessions will close in due time. But imagine if all of the domains that you
share this server with never closed their sessions? Imagine how much of the server
resources are allocated in waiting to close that session for all the pages on
everyone's domains on the server. What do you expect the server to do?

Close your
sessions. Reply to us when you have this done and we will be more than glad to enable your
site.

Go to Top of Page

HuwR
Forum Admin

United Kingdom
20584 Posts

Posted - 09 December 2002 :  23:33:49  Show Profile  Visit HuwR's Homepage
if they are worried about the length of time sessions are staying open, then they should do something about it, you can't control the termination of a session.

The forum does not alter the timeout in any way, so its behaviour is entirely dependant on the servers settings.
Go to Top of Page

Gremlin
General Help Moderator

New Zealand
7528 Posts

Posted - 10 December 2002 :  00:14:50  Show Profile  Visit Gremlin's Homepage
HuwR's already covered it really, but you have no control over the sessions other than overriding the default timeout value, as it stands now anyway Snitz uses *very* few session variables. I honestly don't think your Host understands the concept of session variables.

Kiwihosting.Net - The Forum Hosting Specialists
Go to Top of Page

Doug G
Support Moderator

USA
6493 Posts

Posted - 10 December 2002 :  02:18:14  Show Profile
I'd look for another host. Perhaps your current host can give you some step-by-step instructions how they expect you to accomplish what they are asking?

Perhaps it's a matter of terminology and they are referring to database connections, not IIS user sessions.


======
Doug G
======
Computer history and help at www.dougscode.com
Go to Top of Page

Gremlin
General Help Moderator

New Zealand
7528 Posts

Posted - 10 December 2002 :  04:30:20  Show Profile  Visit Gremlin's Homepage
quote:
Perhaps it's a matter of terminology and they are referring to database connections, not IIS user sessions.
I would say thats quite likely, but are you using SQL Server bjlt ?

Kiwihosting.Net - The Forum Hosting Specialists
Go to Top of Page

bjlt
Senior Member

1144 Posts

Posted - 10 December 2002 :  05:24:00  Show Profile
Yes I'm using SQL server.

It's likely to be the database connection as in my site it's the old version of 31sr4 with some mods for test. some doesn't close the connections but I haven't update them.

I've writen to them to clarify on this.

Thanks.
Go to Top of Page

Gremlin
General Help Moderator

New Zealand
7528 Posts

Posted - 10 December 2002 :  05:48:21  Show Profile  Visit Gremlin's Homepage
Well taking the time to upgrade to 3.4 is probably your best course of action, even if you have to lose a few mods for a while until you manage to find time to implement them, it may be better than having your site 'cut-off' by your hosts.

Kiwihosting.Net - The Forum Hosting Specialists
Go to Top of Page

bjlt
Senior Member

1144 Posts

Posted - 10 December 2002 :  06:09:32  Show Profile
Thanks, yes i'm upgrading. Havent' completed yet and that site is never up for the public.
Go to Top of Page
Page: of 3 Previous Topic Topic Next Topic  
Next Page
 New Topic  Topic Locked
 Printer Friendly
Jump To:
Snitz Forums 2000 © 2000-2021 Snitz™ Communications Go To Top Of Page
This page was generated in 0.27 seconds. Powered By: Snitz Forums 2000 Version 3.4.07