469,160 Members | 1,795 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 469,160 developers. It's quick & easy.

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 1470

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 CARIGAR | last post: by
1 post views Thread by Mortomer39 | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.