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
Faisal Ansari
NA
451
833.7k
Session
Aug 9 2011 6:50 AM
hello guys how r u all?
my question is that,
i want to know that how much time my page is refreshed means if i press the refresh button i display the counter and that counter should be increase
i am doing like this
protected void Page_Load(object sender, EventArgs e)
{
if (!Page.IsPostBack)
{
Session["page"] = 1;
if (Session["page"] != null)
{
int count = Convert.ToInt32(Session["page"].ToString());
Response.Write(count++);
}
}
}
please reply soon
thanks.
Reply
Answers (
2
)
How to upload a file and save in SQL server
How to show check box control in perticular aspx page using ascx common control