Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations TouchToneTommy on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

HELP! CR8 Reports over Web deletes login cookies

Status
Not open for further replies.

cheerfulskeptic

Programmer
Feb 3, 2003
88
IN
I have a web Application written in ASP that places login info via a cookie. This application also links to several CR8 reports. The problem I'm having is that when a user clicks on a report, it displays the report just fine (using ReCrystallize Pro) however, when I navigate back tot he pages of my web application, the cookie I placed is erased, and the user is redirected back to the login screen.
Any advice?
Thanks in advance!
 
I had this problem as well. I solved it by commenting out this line:
' comment out abandon so session is not lost JLS
'Session.Abandon

HTH, Jessica [ponytails2]
 
Thanks for the advice, but I dont get it!
I dont have any session.abandon anywhere? and where is cleanup.asp?
 
cleanup.asp is a file that's called by the Crystal report server program. It's probably in the viewers directory with the SmartViewerActiveX.asp, etc. I'm not sure of the original location as I've customized our directory structure. Everytime you close the report viewer, it runs the cleanup.asp to destroy the report objects it created. At the very end it has the session.abandon line. Jessica [ponytails2]
 
Thanks,
I'll try that. Are you sure it'll work for cookies as well?
 
Not 100% sure as we don't user cookies in that manner, but it's worth a shot! :) Jessica [ponytails2]
 
nope. IT didnt work. I even tried generating the report in HTML or Java, same problem. The cookie gets reset :(.
Any other tricks?
Thanks!
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top