Click here to Skip to main content
15,909,466 members
Home / Discussions / ASP.NET
   

ASP.NET

 
AnswerRe: Problem in dropdownlist? Pin
Sandeep Akhare8-Nov-06 0:51
Sandeep Akhare8-Nov-06 0:51 
QuestionAlpha-numerics Field Problem while uploading Excel file in ASP.NET Pin
Chintan Jariwala7-Nov-06 18:50
Chintan Jariwala7-Nov-06 18:50 
Questionhow to validate a form Pin
Sumanth Pereji7-Nov-06 18:27
Sumanth Pereji7-Nov-06 18:27 
AnswerRe: how to validate a form Pin
_AK_7-Nov-06 19:34
_AK_7-Nov-06 19:34 
GeneralRe: how to validate a form Pin
Sumanth Pereji8-Nov-06 0:27
Sumanth Pereji8-Nov-06 0:27 
QuestionHow to add Color Picker in the datagrid ? Pin
param thaker7-Nov-06 17:35
param thaker7-Nov-06 17:35 
Questionhandling session states Pin
24891287-Nov-06 17:30
24891287-Nov-06 17:30 
AnswerRe: handling session states Pin
Guffa7-Nov-06 18:03
Guffa7-Nov-06 18:03 
First let's clear up some confusion:

1. You can't use static variables to store user specific data, as a static variable is shared by all threads.

2. A hidden field is only useful if you want to send the value from one page to the next, as an alternative to relying on the session.

3. A session variable can not become null during the execution of a page. If it exists when the execution starts, it will exist when it finishes.

In your code you put the value in the variable userId, just use that variable. There is no reason to put it anywhere else during the execution of the page.


---
b { font-weight: normal; }

QuestionDynamicaly menu creation in.net Pin
sridevi307-Nov-06 17:20
sridevi307-Nov-06 17:20 
AnswerRe: Dynamicaly menu creation in.net Pin
Sandeep Akhare7-Nov-06 19:35
Sandeep Akhare7-Nov-06 19:35 
QuestionExcel to DataGrid Problem Pin
alexfromto7-Nov-06 11:46
alexfromto7-Nov-06 11:46 
Questionpartial class in asp.net 2 Pin
alimohammed7-Nov-06 7:20
alimohammed7-Nov-06 7:20 
AnswerRe: partial class in asp.net 2 Pin
Guffa7-Nov-06 7:43
Guffa7-Nov-06 7:43 
GeneralRe: partial class in asp.net 2 Pin
alimohammed7-Nov-06 17:17
alimohammed7-Nov-06 17:17 
GeneralRe: partial class in asp.net 2 [To Guffa] Pin
Nitin19817-Nov-06 18:01
Nitin19817-Nov-06 18:01 
AnswerRe: partial class in asp.net 2 Pin
Guffa7-Nov-06 18:16
Guffa7-Nov-06 18:16 
QuestionActiveDirectoryMemembershipProvider.GetAllSorrows(); Pin
Amsterdamm7-Nov-06 7:05
Amsterdamm7-Nov-06 7:05 
QuestionMAC Address Through IE ? Pin
Yona Low7-Nov-06 4:57
Yona Low7-Nov-06 4:57 
AnswerRe: MAC Address Through IE ? Pin
RichardGrimmer7-Nov-06 5:39
RichardGrimmer7-Nov-06 5:39 
GeneralRe: MAC Address Through IE ? Pin
Yona Low7-Nov-06 7:08
Yona Low7-Nov-06 7:08 
AnswerRe: MAC Address Through IE ? Pin
ednrgc7-Nov-06 6:21
ednrgc7-Nov-06 6:21 
GeneralRe: MAC Address Through IE ? Pin
Yona Low7-Nov-06 7:10
Yona Low7-Nov-06 7:10 
GeneralRe: MAC Address Through IE ? Pin
ednrgc7-Nov-06 7:15
ednrgc7-Nov-06 7:15 
Questionwich button pressed in asp.net Pin
markmestrom7-Nov-06 4:28
markmestrom7-Nov-06 4:28 
AnswerRe: wich button pressed in asp.net Pin
Parwej Ahamad7-Nov-06 5:17
professionalParwej Ahamad7-Nov-06 5:17 

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.