Click here to Skip to main content
16,006,535 members
Home / Discussions / ASP.NET
   

ASP.NET

 
QuestionRe: How to detect that a machine is connect with internet or not programatically by c#? Pin
Abhijit Jana25-May-08 20:50
professionalAbhijit Jana25-May-08 20:50 
AnswerRe: How to detect that a machine is connect with internet or not programatically by c#? Pin
N a v a n e e t h25-May-08 20:54
N a v a n e e t h25-May-08 20:54 
GeneralRe: How to detect that a machine is connect with internet or not programatically by c#? Pin
N a v a n e e t h25-May-08 20:52
N a v a n e e t h25-May-08 20:52 
GeneralRe: How to detect that a machine is connect with internet or not programatically by c#? Pin
Abhijit Jana25-May-08 20:56
professionalAbhijit Jana25-May-08 20:56 
GeneralRe: How to detect that a machine is connect with internet or not programatically by c#? Pin
N a v a n e e t h25-May-08 21:05
N a v a n e e t h25-May-08 21:05 
GeneralRe: How to detect that a machine is connect with internet or not programatically by c#? Pin
Laddie25-May-08 21:09
Laddie25-May-08 21:09 
AnswerRe: How to detect that a machine is connect with internet or not programatically by c#? Pin
N a v a n e e t h25-May-08 20:48
N a v a n e e t h25-May-08 20:48 
Questioncookie generation and locale/language settings Pin
_tasleem25-May-08 20:33
_tasleem25-May-08 20:33 
hi all, i have strange issue and it may be dumb question, i am using below code in asp.net 1.1 to generate the cookie it is generated on some computer using locale(En-us),but cookie is not generated on some computers which have danish locale.
My question "is cookie generation depend upon the locale/Regional setting/Language"
below is the code to generate

<br />
string strCVal="2001" + "@ENG"; <br />
for(int i=0; i<Request.Cookies.Count; i++){<br />
Request.Cookies[i].Expires=DateTime.Now.AddYears(-30);<br />
}<br />
try<br />
{<br />
Response.Cookies["SCID"].Expires=DateTime.Now.AddDays(-3);<br />
}<br />
catch{}<br />
HttpCookie aCookie = new HttpCookie("SCID"); <br />
aCookie.Values[strCVal] = strCVal; 				<br />
aCookie.Expires = DateTime.Now.AddMinutes(5); <br />
Response.Cookies.Add(aCookie);

that code does not throw any exception as well.

Regards.
Tasleem Arif

QuestionRequired Payment Gateway API http://www.interswitchng.com Pin
Ashish Sehajpal25-May-08 20:27
Ashish Sehajpal25-May-08 20:27 
AnswerRe: Required Payment Gateway API http://www.interswitchng.com Pin
N a v a n e e t h25-May-08 20:44
N a v a n e e t h25-May-08 20:44 
Questionapp_code folder Pin
Pankaj Garg25-May-08 19:36
Pankaj Garg25-May-08 19:36 
AnswerRe: app_code folder Pin
Blue_Boy25-May-08 19:47
Blue_Boy25-May-08 19:47 
AnswerRe: app_code folder Pin
N a v a n e e t h25-May-08 19:58
N a v a n e e t h25-May-08 19:58 
QuestionRe: app_code folder Pin
Pankaj Garg25-May-08 20:31
Pankaj Garg25-May-08 20:31 
AnswerRe: app_code folder Pin
N a v a n e e t h25-May-08 20:40
N a v a n e e t h25-May-08 20:40 
QuestionAuthorizaton in ASP.NET 2.0 Pin
salon25-May-08 19:26
salon25-May-08 19:26 
QuestionRe: Authorizaton in ASP.NET 2.0 Pin
Vasudevan Deepak Kumar26-May-08 18:51
Vasudevan Deepak Kumar26-May-08 18:51 
AnswerRe: Authorizaton in ASP.NET 2.0 Pin
salon26-May-08 19:26
salon26-May-08 19:26 
QuestionAJAX ISSUE...URGENT HELP REQUIRED FROM AJAX EXPERTS Pin
Sajid A.25-May-08 18:47
Sajid A.25-May-08 18:47 
AnswerCP Members IGNORE Pin
leckey25-May-08 18:51
leckey25-May-08 18:51 
AnswerRe: AJAX ISSUE...URGENT HELP REQUIRED FROM AJAX EXPERTS Pin
Ashish Sehajpal25-May-08 20:30
Ashish Sehajpal25-May-08 20:30 
Questionvirtual directories c# Pin
Pankaj Garg25-May-08 18:11
Pankaj Garg25-May-08 18:11 
AnswerRe: virtual directories c# Pin
Laddie25-May-08 19:03
Laddie25-May-08 19:03 
AnswerRe: virtual directories c# Pin
Abhijit Jana25-May-08 19:05
professionalAbhijit Jana25-May-08 19:05 
QuestionRe: virtual directories c# Pin
Pankaj Garg25-May-08 19:25
Pankaj Garg25-May-08 19: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.