Discussion Locked

ASP.net loses session state

0 helpful
2 replies
Closed to new repliesThis discussion is closed. It stays readable, but it takes no new replies.

Hello

I have migrated my web site from a Windows 2000 server iis
5 to a remote host which operates on iis6.

The new configuration does not seem to maintain session
IDs for more than 15 seconds.

If you visit www.ognisko.co.uk/index.asp
I have placed an indicator for debugging purposes at the
bottom of each page. The first # is the session.timeout
and the second is session.sessionid . The third is the
HTTP_COOKIES header information.

if you login with "test1" using pass"login12" and visit a
few pages, go to the shop, browse around, and go back to
the "course" button you will see that after a while the
session id changes and it asks the user to log back in.

It worked fine before on iis5. What is this due to?

Thanks
Alex

2 replies

by aai

Dear Alex

I suggest you operate your site on Appach web server and PHP/MySQL to manage your site.

You can use with BuildaGate Suite Technology to develop your site.

It is very powerful SQL e-Business SQL application builder and the price isvery low.

Best regards,

Iphtach

aai@business.israel.net

by ge.goodman

when he's already deployed his app on IIS, and is therefore likely to have designed it all with MS tools

Alex, the first thing to check would be the connection timeout for your default server; go to Computer Management, IIS, Web Servers, Default Web Server. Right-click, choose "Properties" and on the first tab "Default Web Site Properties", check the "Connection Timeout" value.

The default is 900 seconds, which gives a default session timeout of 15 minutes.

Apologies if this is a bit newbie for you and you've already checked it.

Another thing - is this an ASP or ASP.NET app ?

Feel free to learn a complete different set of server technologies and deploy it on Apache if you want.. Apache certainly is fast and stable, but IIS does the same job if kept up to date.

This discussion is closed to new replies.