Hi Friends
Instead of relying on default Session mechanism given by ASP.NET . You use class property. lets Make a Code sample
Class SessionIssue
{
static string Sess="";
Public string Sess1
{
get;
set;
}
}
// End of class in App_code
in Default.aspx
------------------------------------
SessionIssue s= new SessionIssue();
s.Sess1="Your Values" // you keeping value in property that will be accessed wherever you want
----------------------------------------------------------------
In Default1.aspx
------------------------------------
SessionIssue ss= new SessionIssue();
string sessionValue=ss.Sess1; // you accessing session that was set in other page
if you have any problem then let me know at kumar21sujeet@gmail.com with subject line "Dotnetfunda Question";
Thanks sujeet kumar
More details you can visit my blog at
http://sujeet21.wordpress.com/
Sujeet Kumar
Software Developer
MCTS, MCPD
http://sujeet21.wordpress.com/
saisuresh074-17816, if this helps please login to Mark As Answer. | Alert Moderator