Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > ASP .Net > Session variable values are lost when navigate from one page to an

Reply
Thread Tools

Session variable values are lost when navigate from one page to an

 
 
=?Utf-8?B?U00=?=
Guest
Posts: n/a
 
      02-27-2007
Background
We migrated our Asp.net 1.1 application to Asp.net 2.0 ( just migration )
.. It was working fine in local developer machine and one of our development
testing server.
When we moved to staging server which is also running on windows 2000 server
and we started facing a peculiar issue.
We are able to login successfully every time , however , a click on a link
to move to a a different page on a hyper link.

<asp:HyperLink id="lnkClick" runat="server" ForeColor="Snow"
Font-Italic="True" Font-Size="Small"
Font-Underline="True" Font-Names="Arial" Target="_self"
Font-Bold="True">here</asp:HyperLink>


Code behind has the following code
lnkClick.NavigateUrl = Convert.ToString("Files12/Z_All_allReports.aspx")


What is the issue ?
When the new page is launched , it ends in null reference exception as the
session variables loaded in the previous page were lost.

Our session state is still inproc .
Is it due to any settings on the web server.


Any information is highly appreciated .


 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
System Session Variable VS. Own-declared 'Session' Variable chowchho ASP .Net 7 03-28-2008 02:38 PM
navigate from a regular page to a secured page c676228 ASP General 2 11-30-2007 06:28 PM
Session variable values are lost when navigate from one page to ot =?Utf-8?B?U00=?= ASP .Net 0 02-27-2007 02:06 AM
Session Times Out.... Navigate to Login Page Amith Singh ASP .Net 8 09-06-2004 12:29 AM
Re: lost session values, not Session Alvin Bruney [MVP] ASP .Net 0 03-02-2004 06:35 AM



Advertisments