TECHNOLOGIES
FORUMS
JOBS
BOOKS
EVENTS
INTERVIEWS
Live
MORE
LEARN
Training
CAREER
MEMBERS
VIDEOS
NEWS
BLOGS
Sign Up
Login
No unread comment.
View All Comments
No unread message.
View All Messages
No unread notification.
View All Notifications
Answers
Post
An Article
A Blog
A News
A Video
An EBook
An Interview Question
Ask Question
Forums
Monthly Leaders
Forum guidelines
Kapil Dev
NA
3
4.8k
Problem in retrieving values from session in other pages.
Jan 26 2011 9:13 AM
Hi all ,
I am creating an application in which in one page(Default.aspx) I am assigning some values into session varaible like-
session["NameOfSession"]="some values#SomeValues";
When I am going to retrieving this value on next page(let ViewResult.aspx) like
if(Session["NameOfSession"] ==null)
{
lbl.Text="Session having null values";
}
else
{
lbl.Text="Session having some values";
}
Then in each case "Session having null values" going to print in Label.(I had check spelling of session name :- ) ). Same code running fine on local Mac.
And sometimes on some MAC code are running fine(Session's values are being retrieve as it had send from prevous page.)
Please help as I never face such a problem.
Thanks in advance
Kapil Dev
Reply
Answers (
1
)
Create grid like background inside multiline textbox
What is the ASP.NET page life cycle