?
Solved

User Session has Expired

Posted on 2003-03-07
9
Medium Priority
?
1,850 Views
Last Modified: 2008-02-26
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
Comment
Question by:AndresM
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 4
  • 2
  • 2
  • +1
9 Comments
 
LVL 18

Expert Comment

by:Sethi
ID: 8092386
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
 
LVL 10

Author Comment

by:AndresM
ID: 8094052
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
 
LVL 12

Expert Comment

by:DRRYAN3
ID: 8094918
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: Site Down Detector

Helpful to verify reports of your own downtime, or to double check a downed website you are trying to access.

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.

 
LVL 18

Expert Comment

by:Sethi
ID: 8095723
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
 
LVL 10

Author Comment

by:AndresM
ID: 8099722
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
 
LVL 10

Author Comment

by:AndresM
ID: 8102298
In the machines that have problems, I have the cookies enabled...
0
 
LVL 10

Author Comment

by:AndresM
ID: 8105112
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
 

Expert Comment

by:modulo
ID: 8122609
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
 

Accepted Solution

by:
modulo earned 0 total points
ID: 8143819
Saving this Q as a PAQ and refunding the points to the questionner

modulo

Community Support Moderator
Experts Exchange
0

Featured Post

On Demand Webinar: Networking for the Cloud Era

Did you know SD-WANs can improve network connectivity? Check out this webinar to learn how an SD-WAN simplified, one-click tool can help you migrate and manage data in the cloud.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Crystal Reports: 5 Tests for Top Performance It is complete, your masterpiece report.  Not only does it meet your customer’s expectations, it blows them out the water, all they want is beautifully summarised and displayed in a myriad of ways. …
Hot fix for .Net Crystal Reports 10.2.3600.0 to fix problems with sub reports running on 64 bit operating systems ISSUE: Reports which contain subreports fail with error "Missing Parameter Value" DEPLOYMENT SERVER OS: Windows 2008 with 64 bi…
NetCrunch network monitor is a highly extensive platform for network monitoring and alert generation. In this video you'll see a live demo of NetCrunch with most notable features explained in a walk-through manner. You'll also get to know the philos…
Have you created a query with information for a calendar? ... and then, abra-cadabra, the calendar is done?! I am going to show you how to make that happen. Visualize your data!  ... really see it To use the code to create a calendar from a q…
Suggested Courses

801 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question