Click here to Skip to main content
15,921,694 members
Home / Discussions / ASP.NET
   

ASP.NET

 
AnswerRe: onclick event of hyperlink Pin
Pranay Rana15-Feb-10 0:20
professionalPranay Rana15-Feb-10 0:20 
QuestionI want to create an Email Template from FCKEditor and ASP.NET 2.0 Pin
hardikr.shah14-Feb-10 22:23
hardikr.shah14-Feb-10 22:23 
AnswerRe: I want to create an Email Template from FCKEditor and ASP.NET 2.0 Pin
Abhishek Sur14-Feb-10 22:47
professionalAbhishek Sur14-Feb-10 22:47 
AnswerRe: I want to create an Email Template from FCKEditor and ASP.NET 2.0 Pin
keyur satyadev14-Feb-10 22:51
keyur satyadev14-Feb-10 22:51 
QuestionCrystal report viewer problem Pin
Hema Bairavan14-Feb-10 21:40
Hema Bairavan14-Feb-10 21:40 
Questionregarding nature of session id? Pin
Tridip Bhattacharjee14-Feb-10 21:24
professionalTridip Bhattacharjee14-Feb-10 21:24 
AnswerRe: regarding nature of session id? Pin
Abhishek Sur14-Feb-10 22:36
professionalAbhishek Sur14-Feb-10 22:36 
Questionsession related problem? Pin
Tridip Bhattacharjee14-Feb-10 21:22
professionalTridip Bhattacharjee14-Feb-10 21:22 
i am assigning the value in session variable but it is getting null when i am checking.

suppose i have two link button and when i am clicking the link button then i am assigning some value in session variable
but when i am checking again when link button is clicked then found value null.

my code is

protected void LinkButtonClick (object sender, EventArgs e)
{
if (Session["Download"] == null || (int)Session["Download"] == 0)
{
Session["Download"] = 1;
processLogTask();
}
else if ((int) Session["Download"] ==1)
{
//system is busy
}
}

protected void processLogTask()
{
//when routime will be finished
Session["Download"] = 0
}

so when first time click on link then LinkButtonClick event will be fired and i put some value in session and

processLogTask()
routine will be called and it will take long time to finished.

basically i design in this way when user click on link button processlongtime will be called so if same user click again

on linkbutton then processlongtime will not be called if processlongtime routime is still running. but here i have seen

that when first time user click the session variable is assigned with 1 but when user click immediately the link button

again then session variable value found null. why session variable value is getting null whenever it is already assigned.

please help how to solved this session problem.
tbhattacharjee

AnswerRe: session related problem? Pin
Abhishek Sur14-Feb-10 22:39
professionalAbhishek Sur14-Feb-10 22:39 
AnswerRe: session related problem? Pin
keyur satyadev14-Feb-10 22:41
keyur satyadev14-Feb-10 22:41 
Questionmp3 player in website Pin
Cvaji14-Feb-10 20:51
Cvaji14-Feb-10 20:51 
AnswerRe: mp3 player in website Pin
Cvaji14-Feb-10 23:16
Cvaji14-Feb-10 23:16 
AnswerRe: mp3 player in website Pin
Samarjeet Singh@india5-May-10 2:26
Samarjeet Singh@india5-May-10 2:26 
Questionsession is lost even in SqlServer Session mode Pin
Amit Spadez14-Feb-10 20:03
professionalAmit Spadez14-Feb-10 20:03 
QuestionMusic plyer or media Player in Website Pin
Amir979514-Feb-10 19:23
Amir979514-Feb-10 19:23 
Questiongridview Pin
diyaa_0814-Feb-10 19:14
diyaa_0814-Feb-10 19:14 
QuestionAlignment of brackroung gets changed in master page design view Pin
svt gdwl14-Feb-10 19:11
svt gdwl14-Feb-10 19:11 
AnswerRe: Alignment of brackroung gets changed in master page design view Pin
Abhishek Sur14-Feb-10 22:41
professionalAbhishek Sur14-Feb-10 22:41 
QuestionSEO for blogs Pin
Member 227733414-Feb-10 18:58
Member 227733414-Feb-10 18:58 
QuestionSEO for blogs Pin
Member 227733414-Feb-10 18:58
Member 227733414-Feb-10 18:58 
QuestionRetriving a particular Column value from Checked List box on Selected index Changing..... Pin
vineesh v14-Feb-10 18:57
vineesh v14-Feb-10 18:57 
AnswerRe: Retriving a particular Column value from Checked List box on Selected index Changing..... Pin
sashidhar14-Feb-10 19:12
sashidhar14-Feb-10 19:12 
QuestionOracle Session Problem Pin
AndyASPVB14-Feb-10 8:17
AndyASPVB14-Feb-10 8:17 
QuestionJavascript callbacks question !! Pin
el_scrub14-Feb-10 6:46
el_scrub14-Feb-10 6:46 
AnswerRe: Javascript callbacks question !! Pin
Not Active14-Feb-10 10:42
mentorNot Active14-Feb-10 10:42 

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.