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
Sunil Kumarreddy
NA
11
771
Need to access a variable after session timeout.
May 26 2015 8:28 AM
If I need to access a variable after session time out where should I store the variable.
Added session time out in web.config as
<sessionState mode="InProc" timeout="15" />
using targetFramework="4.5"
after session time out i need to
access a
variable .so please let me know where to store
variable (
Session State,
Application State
).please give a example to store and access.
for example
if(HttpContext.Current.Session["IsLoggedIn"] == null)
{
//Here i need to check the
variable after
session time out
if(
Isadminlogin
) {
Response.Redirect(
"./adminlogin.aspx"
);
}else{
Response.Redirect(
"./memberlogin.aspx"
);
}
}
Reply
Answers (
1
)
Display day number in textbox on date picker value
Need Pin Interrupts library for c# mono raspberry pi