Click here to Skip to main content
15,895,793 members
Home / Discussions / ASP.NET
   

ASP.NET

 
QuestionConvert decimal number into Italian formate while export to excel. Pin
attalurisubbu23-Feb-10 8:47
attalurisubbu23-Feb-10 8:47 
AnswerRe: Convert decimal number into Italian formate while export to excel. Pin
Jörgen Andersson23-Feb-10 11:17
professionalJörgen Andersson23-Feb-10 11:17 
GeneralRe: Convert decimal number into Italian formate while export to excel. Pin
attalurisubbu24-Feb-10 3:21
attalurisubbu24-Feb-10 3:21 
GeneralRe: Convert decimal number into Italian formate while export to excel. Pin
Jörgen Andersson24-Feb-10 3:40
professionalJörgen Andersson24-Feb-10 3:40 
Questioncalling web method in asp.net web page Pin
dalila y23-Feb-10 8:43
dalila y23-Feb-10 8:43 
AnswerRe: calling web method in asp.net web page Pin
mrMercury23-Feb-10 8:48
mrMercury23-Feb-10 8:48 
AnswerRe: calling web method in asp.net web page Pin
Sandeep Mewara21-Mar-10 21:09
mveSandeep Mewara21-Mar-10 21:09 
QuestionLossing Sessions and static varaibles becoming null [modified] Pin
Satish - Developer23-Feb-10 3:02
Satish - Developer23-Feb-10 3:02 
Hi, I have an web application. I am lossing sessions and static variables become null if i use the following code in my application.
public string _xmlfilepath = Path.Combine(AppDomain.CurrentDomain.BaseDirectory, "App_Code\\Culture.xml");
public string _userfilepath = Path.Combine(AppDomain.CurrentDomain.BaseDirectory, "Users");


Even when i am using this code...the sessions are lost
_userfilepath = Request.PhysicalApplicationPath + "Users\\";
_xmlfilepath = Request.PhysicalApplicationPath + "App_Code\\Culture.xml";


If i use this code then its working fine.
Adding paths in web.config
<add key="UserPath" value="F:\MyFolder\Users\" />
<add key="CultureXML" value="F:\MyFolder\Admin\Culture.xml" />

Later i am retirving those paths in application
public string _userfilepath = ConfigurationManager.AppSettings["UserPath"];
public string _xmlfilepath = ConfigurationManager.AppSettings["CultureXML"];

But I dont know the drive names etc at client location to place my application. If i use the appdomain code then where ever this code placed the files will create in that directory itself. But the problem is i am loosing sessions and static variables becoming null. Due to this exceptions are arising.

How can i overcome this issue?
G. Satish

AnswerRe: Lossing Sessions and static varaibles becoming null Pin
Parwej Ahamad23-Feb-10 4:58
professionalParwej Ahamad23-Feb-10 4:58 
GeneralRe: Lossing Sessions and static varaibles becoming null Pin
Satish - Developer23-Feb-10 20:39
Satish - Developer23-Feb-10 20:39 
QuestionOrder by Pin
Qasim198423-Feb-10 2:48
professionalQasim198423-Feb-10 2:48 
AnswerRe: Order by Pin
R. Giskard Reventlov23-Feb-10 5:09
R. Giskard Reventlov23-Feb-10 5:09 
GeneralRe: Order by Pin
Qasim198423-Feb-10 5:13
professionalQasim198423-Feb-10 5:13 
GeneralRe: Order by Pin
R. Giskard Reventlov23-Feb-10 5:24
R. Giskard Reventlov23-Feb-10 5:24 
GeneralRe: Order by Pin
Qasim198423-Feb-10 5:29
professionalQasim198423-Feb-10 5:29 
Questionjava date validation Pin
Member 395625723-Feb-10 2:22
Member 395625723-Feb-10 2:22 
AnswerRe: java date validation Pin
R. Giskard Reventlov23-Feb-10 2:27
R. Giskard Reventlov23-Feb-10 2:27 
Questionlogin control - aspnet_regsql.exe Pin
arkiboys23-Feb-10 1:49
arkiboys23-Feb-10 1:49 
AnswerRe: login control - aspnet_regsql.exe Pin
Not Active23-Feb-10 1:55
mentorNot Active23-Feb-10 1:55 
GeneralRe: login control - aspnet_regsql.exe Pin
arkiboys23-Feb-10 2:30
arkiboys23-Feb-10 2:30 
GeneralRe: login control - aspnet_regsql.exe Pin
Not Active23-Feb-10 5:38
mentorNot Active23-Feb-10 5:38 
QuestionMaking url clickable in textbox Pin
sumit703423-Feb-10 0:38
sumit703423-Feb-10 0:38 
AnswerRe: Making url clickable in textbox Pin
R. Giskard Reventlov23-Feb-10 0:56
R. Giskard Reventlov23-Feb-10 0:56 
GeneralRe: Making url clickable in textbox Pin
sumit703423-Feb-10 1:13
sumit703423-Feb-10 1:13 
GeneralRe: Making url clickable in textbox Pin
R. Giskard Reventlov23-Feb-10 2:25
R. Giskard Reventlov23-Feb-10 2:25 

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.