Click here to Skip to main content
16,005,552 members
Home / Discussions / ASP.NET
   

ASP.NET

 
QuestionHow to add rows dynamically in datagrid Pin
Ph@ntom21-Sep-06 3:04
Ph@ntom21-Sep-06 3:04 
AnswerRe: How to add rows dynamically in datagrid Pin
_AK_21-Sep-06 18:24
_AK_21-Sep-06 18:24 
QuestionDataList problem Pin
papa8021-Sep-06 2:53
papa8021-Sep-06 2:53 
QuestionValidation on Telephone No. in javascript Pin
Suresh Pirsquare21-Sep-06 1:37
Suresh Pirsquare21-Sep-06 1:37 
AnswerRe: Validation on Telephone No. in javascript Pin
Vicky Roberts21-Sep-06 2:30
Vicky Roberts21-Sep-06 2:30 
GeneralRe: Validation on Telephone No. in javascript Pin
Suresh Pirsquare21-Sep-06 2:33
Suresh Pirsquare21-Sep-06 2:33 
Questionasp.net question abou session creation in C# asp.net Pin
Deepak the Cool21-Sep-06 1:00
Deepak the Cool21-Sep-06 1:00 
AnswerRe: asp.net question abou session creation in C# asp.net Pin
Britney S. Morales21-Sep-06 3:38
Britney S. Morales21-Sep-06 3:38 
Every time an user open your site on a browser window, it create a session automatically

Create a session variable with the user Id

string userId = (to consult the database)....

Session["userId"] = userId;

Check the session State

string stateSession = Session.Mode.ToString();


write these lines on all onload process pages in order to check if the session dont time out

<br />
try<br />
{<br />
    string isAlive = Session["userId"].ToString();<br />
}<br />
catch(Exception) //The session var is out<br />
{<br />
    Response.Redirect("error.aspx"); //Page with the time out message<br />
}<br />


Ojala sea lo que buscas

i hope it was what you looking for

keep Learning and you never will be out of date...

Questionsource code for asp.net datagrid deletecommand event in C# Pin
vijay258321-Sep-06 0:56
vijay258321-Sep-06 0:56 
AnswerRe: source code for asp.net datagrid deletecommand event in C# Pin
Britney S. Morales21-Sep-06 4:01
Britney S. Morales21-Sep-06 4:01 
GeneralRe: Useless subject Pin
Guffa21-Sep-06 1:05
Guffa21-Sep-06 1:05 
General[Message Deleted] Pin
hai2muru21-Sep-06 1:18
hai2muru21-Sep-06 1:18 
GeneralRe: Useless subject Pin
J4amieC21-Sep-06 1:20
J4amieC21-Sep-06 1:20 
GeneralRe: Useless subject Pin
Sathesh Sakthivel21-Sep-06 1:21
Sathesh Sakthivel21-Sep-06 1:21 
QuestionSession expiry Pin
Nithinoranj21-Sep-06 0:24
Nithinoranj21-Sep-06 0:24 
AnswerRe: Session expiry Pin
M LN Rao21-Sep-06 0:46
M LN Rao21-Sep-06 0:46 
AnswerRe: Session expiry Pin
Nithinoranj22-Sep-06 1:58
Nithinoranj22-Sep-06 1:58 
Questionajax dropdownlist Pin
sudharsong21-Sep-06 0:22
sudharsong21-Sep-06 0:22 
QuestionFinding Printer Status in ASP.NET 1.1 Pin
param thaker21-Sep-06 0:19
param thaker21-Sep-06 0:19 
QuestionAccessibility issue: Mouseover effect of image. Pin
narendra.vendi20-Sep-06 23:17
narendra.vendi20-Sep-06 23:17 
AnswerRe: Accessibility issue: Mouseover effect of image. Pin
Jakob Farian Krarup20-Sep-06 23:48
Jakob Farian Krarup20-Sep-06 23:48 
QuestionAccessibility issue: Alternate way for Close functionality Pin
narendra.vendi20-Sep-06 23:09
narendra.vendi20-Sep-06 23:09 
Questionasp.net question about database and refresh button Pin
Deepak the Cool20-Sep-06 22:43
Deepak the Cool20-Sep-06 22:43 
AnswerRe: asp.net question about database and refresh button Pin
abhi_viking20-Sep-06 23:07
abhi_viking20-Sep-06 23:07 
AnswerRe: asp.net question about database and refresh button Pin
Britney S. Morales21-Sep-06 4:08
Britney S. Morales21-Sep-06 4:08 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.