ASP Session Timeout Not working.

Session.Timeout=240 is not working.

This worked on IIS 5.0 (On windows XP), but not on IIS 6.0 on windows 2003 server.

If I do:
response.write(session.timeout)
it will print 240, but the session is gone after 20 mins.

I've changed the metabase.xml file to 240, as well as updated the Session timeout in the IIS MMC console. Still doesn't work.
LVL 1
ExibilityAsked:
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

 
Wayne BarronAuthor, Web DeveloperCommented:
May I suggest that you use Cookies instead.
http:Q_24252782.html
View the accepted answer.
This is a customer cookie Login script that I designed that will allow the user to be logged in
For as long as the cookie exist on the computer, or the limit day is reached.

Let me know if you choose this route and need assistance with the code that is supplied.

Have a good one.
Carrzkiss
0
 
Wayne BarronAuthor, Web DeveloperCommented:
Not the accepted answer but this one http:Q_24252782.html#a23965754
This is the code links and demo

Good Luck
Carrzkiss
0
 
ExibilityAuthor Commented:
cookies wont work for us.

i really want to know why it worked on iis 5, and why it doesn't work on iis 6. we upgraded from xp pro to a server 2003 and we LOST functionality?
0
Free Tool: Path Explorer

An intuitive utility to help find the CSS path to UI elements on a webpage. These paths are used frequently in a variety of front-end development and QA automation tasks.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

 
Wayne BarronAuthor, Web DeveloperCommented:
Go into the IIS on the 2003 server and reset the connection timeout.
See if that is the issue.

Good Luck
Carrzkiss
0
 
ExibilityAuthor Commented:
already tried increasing it. you mean from the 120 to something larger?

i also increased the sesion timeout in IIS and the metabase file.
0
 
Wayne BarronAuthor, Web DeveloperCommented:
0
 
ExibilityAuthor Commented:
Thanks, but I tried that, AND this: http://www.microsoft.com/technet/prodtechnol/WindowsServer2003/Library/IIS/042a5242-f5b0-4fe0-b614-18eded88ab7c.mspx?mfr=true

And the other Metabase.xml settings like:
AspSessionTimeout
ran through: http://support.microsoft.com/kb/233477 as well.

0
 
Wayne BarronAuthor, Web DeveloperCommented:
I am not found of Sessions as they never do properly in anything that I have done.
So, I am just searching google in hopes that I can find something that someone else might
Have done with the same issue.

If you do not mind me asking.
Why can you not use cookies instead?
As you stated:  >>cookies wont work for us.
0
 
ExibilityAuthor Commented:
A few systems that access this site can't handle cookies. Old sun systems, some systems that have them disabled for "security reasons" etc...messy.
0
 
Wayne BarronAuthor, Web DeveloperCommented:
understand.

I really wish that I could be of more assistance for you.
Maybe someone will come in during the evening or early morning with some more information.

Best of luck, I will continue to monitor, and if I can think of anything, I will let you know.

Carrzkiss
0
 
ExibilityAuthor Commented:
thanks for trying. Sense my frustration yet? ;)
0
 
Wayne BarronAuthor, Web DeveloperCommented:
yep.
I am having the same frustration over here with creating an XML File from ASP
That I have done about 30 times before, and it WILL NOT WORK NOW!!!!!!
And I do not know why?

Good luck with your issue.
I am going to take a break from mine and maybe an idea will come up.

Carrzkiss
0
 
ExibilityAuthor Commented:
ok, finally found it. You have to increase the time for the worker process recycling.
http://www.microsoft.com/technet/prodtechnol/WindowsServer2003/Library/IIS/b31db007-193c-40f7-8909-cfc1c75b4aa6.mspx?mfr=true

I first found it by going over this PPT file on "Best Practices for Transitioning to IIS 6.0 from Earlier Versions": http://support.microsoft.com/servicedesks/Webcasts/wc112002/WC112002.ppt
0

Experts Exchange Solution brought to you by ConnectWise

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
 
Wayne BarronAuthor, Web DeveloperCommented:
Exibility:
Since you found the information and posted your findings on here.
You can accept yourself as Answer....
This will make it easier for people to find your article if experiancing the same issue as you did.

Good Work.
Carrzkiss
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.