471,601 Members | 920 Online
Bytes | Software Development & Data Engineering Community
Post +

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 471,601 software developers and data experts.

Losing Session Variables when Navigating inside Crystal Reports

Hi, I would appreciate any insight into the following issue..

I have an asp.net application with crystal reports being displayed.. All
works fine from my IDE & I am trying to move the app to a test server. The
report parameters are input on the first aspx page and I store them in the
Session object & use a Server.Transfer() to get to the page that displays the
crystal report. The report parameters are all successfully passed to this
page & the report is rendered.

The problem is when navigating within the crystal report.. Any attempt to
page through or search the report results in an error.. As the aspx page is
reloaded the isPostBack is set to false so the page_load code goes through
the if !isPostBAck() branch which looks for the report parameters & attempts
to rebuild the report. The problem is that the parameters are missing as
are all other Session variables..

I put a trace into the page and I do see that I have the same sessionid
throughout the session. I also tried deploying the app as a precompiled
deploy thinking that the framework was rebuilding the page when attempting to
navigate in crystal & that was giving me the new session & postback ==
false... This didn't help.

I am at a loss as the postback & session variables only seem to get reset
within the crystal navigation page loads and not anywhere else in the app..
Have reported it to crystal & they tell me to move my code into page_init..
think this is their standard solution to everything.

thanks for any help. Linda

Oct 27 '06 #1
0 1580

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

reply views Thread by mbosco51 | last post: by
1 post views Thread by Werner | last post: by
4 posts views Thread by JIsenstadt | last post: by
2 posts views Thread by Franck | last post: by
5 posts views Thread by bgold12 | last post: by
1 post views Thread by XIAOLAOHU | last post: by
reply views Thread by CCCYYYY | last post: by

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.