• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 1890
  • Last Modified:

User Session has Expired

Hi,
Crystal Reports 8.0 on Windows NT Server with IIS 4.0.
In a IIS I have some reports that are called from asp pages and the clients use the activex viewer for see them.
In a few machines, I am having the error "User Session has Expired". This machines has Intenet Explorer 6.0.
I think that there is no problem with the code of the asp pages, because in other machines the reports works ok, with the same version of IE.
I also read the pdf "troubleshooting user session has expired", with no luck.
Any ideas?
Thanks in advance.
0
AndresM
Asked:
AndresM
  • 4
  • 2
  • 2
  • +1
1 Solution
 
SethiCommented:
Whenever a client machine connects to the server using a browser like Internet Explorer, the Server opens an exclusive session for that client. This session has to be closed by the server once the client has left the server. You are experiencing this problem because the server closes the session even before the client has left the server. This is becuase there is a Session Timeout property of the Session object that tells the Server to close the session after some seconds if there is no request from the client, assuming that the client has left the site and is no more using the services of the server. So have two solutions with you:
1. Increase the value of sessions timeout property. I think by default it is 45 seconds.

2. On every page have an error handler where in whenever there is a session timeout, redirect the user to the login page.

Hope this helps.
0
 
AndresMAuthor Commented:
Thanks for your comment.
But why in one machine works ok and in another not? I don't think that is something in the code or in the server side....
0
 
DRRYAN3Commented:
In order to use sessions in IIS, the browser must accept cookies.  Did you modify the default IE6 settings to allow it to accept cookies?
0
Free Tool: Port Scanner

Check which ports are open to the outside world. Helps make sure that your firewall rules are working as intended.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

 
SethiCommented:
This white paper will answer all your questions and will put you on right track:
http://support.crystaldecisions.com/communityCS/TechnicalPapers/scr_user_session_has_expired.pdf

0
 
AndresMAuthor Commented:
DRRYAN3: Thanks for you comment. Tomorrow morning I'll check if the cookies are disabled.

Sethi: Thanks, but like I said in my question, I already read the PDF, with no luck...
0
 
AndresMAuthor Commented:
In the machines that have problems, I have the cookies enabled...
0
 
AndresMAuthor Commented:
I did more test, and I saw the following:
With IE 6.0 the reports works ok, but when I upgrade to IE 6.0 SP1, then I have the error "User Session Has Expired". It has to do with the ASPSessionID, the browser doesn't send to the server the id...
Any ideas...?
0
 
moduloCommented:
Dear expert(s),

A request has been made to close this Q in CS:
http://www.experts-exchange.com/Community_Support/Q_20548114.html

Without a response in 72 hrs, a moderator will finalize this question by:

 - Saving this Q as a PAQ and refunding the points to the questionner

When you agree or disagree, please add a comment here.

Thank you.

modulo

Community Support Moderator
Experts Exchange
0
 
moduloCommented:
Saving this Q as a PAQ and refunding the points to the questionner

modulo

Community Support Moderator
Experts Exchange
0

Featured Post

Free Tool: SSL Checker

Scans your site and returns information about your SSL implementation and certificate. Helpful for debugging and validating your SSL configuration.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

  • 4
  • 2
  • 2
  • +1
Tackle projects and never again get stuck behind a technical roadblock.
Join Now