|
Cookie?
Vasudevan Deepak Kumar
Personal Homepage Tech Gossips
A pessimist sees only the dark side of the clouds, and mopes; a philosopher sees both sides, and shrugs; an optimist doesn't see the clouds at all - he's walking on them. --Leonard Louis Levinson
|
|
|
|
|
Hi All,
I am currently working with web services and while sending data to web service i am getting this Error:
"The request failed with HTTP status 400: Bad Request"
Can anyone tell me why i am getting this Errr ... [OMG]
Regards,
Perry
|
|
|
|
|
Check Google , before post this type of question here
Google[^]
|
|
|
|
|
i have already checked ...
i am posting here as none of answers resolved my problem ...
|
|
|
|
|
Double-poster
Cross-poster
|
|
|
|
|
Hi …
I am working with datagrid in asp.net/vb.net.
The application is on search criteria I want to display list in datagrid . I making the view of this list as directory because it gives me result as member directory.
Now I want to give effect of that datagrid as flipbook effect as on the mouse click the the page should be open as opening page in book.
So anyone has idea about this pls help me.
Thanks….
|
|
|
|
|
Hai all,
i had one function which does not accept apostrophies for the text box but i need to accept the apostrophe for the textbox can any one help me...i am new to javascript...
}else if(c.indexOf(' validate-address ')!=-1&&t.replace(/ /g,'').replace(/[,]/g,'').replace(/[.]/g,'').match(/\W/)){valid=false;
Thanks
Subbu.
|
|
|
|
|
Just remove the apostrophes from the string before the match. Why do you have to many replace calls when you can do all the replacing in one?
}else if(c.indexOf(' validate-address ')!=-1&&t.replace(/[ ,.']+/g,'').match(/\W/)){valid=false;
Despite everything, the person most likely to be fooling you next is yourself.
|
|
|
|
|
how to detect a machine can access another machine over the lan or not programatically by c#.
tbhattacharjee
|
|
|
|
|
|
please help me with some sample code by which i can detect the machine is connect with internet or not.
Thanks
tbhattacharjee
|
|
|
|
|
if(SystemInformation.Network)
{
}
Thanks
Laddie
Kindly rate if the answer was helpful
|
|
|
|
|
does it mean that there is no Internet connection ?
|
|
|
|
|
Abhijit Jana wrote: does it mean that there is no Internet connection ?
I guess it's not specific to internet. It checks for a network connection which may include LAN too. The property he provided always returns true. Check documentation[^].
|
|
|
|
|
This has nothing to do with ASP.NET, through check System.Net.NetWorkInformation for more detail report. SystemInformation.Network always returns true !
|
|
|
|
|
N a v a n e e t h wrote: SystemInformation.Network always returns true !
why so?
i have run this code, its return true for both cases when my network plug is in and out .
|
|
|
|
|
Yes. This is what MSDN documentation says. I don't know why it is so. MSDN Says "This property always returns true on all Windows platforms supported by the .NET Framework. "
|
|
|
|
|
Looks like it just check for the machine has networking capability or not and not the network is present ot now.
May be this
System.Net.NetworkInformation.OperationalStatus has different status telling about the current network status
Unfortunately i dont have a machine that is not in n/w so cannot test.But MSDN confirms it is the one.
http://msdn.microsoft.com/en-us/library/system.net.networkinformation.operationalstatus.aspx[^]
Thanks
Laddie
Kindly rate if the answer was helpful
|
|
|
|
|
Why do you want to check this in an ASP.NET application ?
|
|
|
|
|
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
|
|
|
|
|
hi,
can anyone help me out with API for using inter switch payment gateway ?
i am unable to find out the method to POST data to their server in asp.net..
Regards,
Ashish Sehajpal
|
|
|
|
|
Ashish Sehajpal wrote: inter switch payment gateway ?
Better place would be their customer support desk than here.
|
|
|
|
|
whenever i try to add a class file , i get the following message.
You are attempting to add a class to an asp.net application .for a class to be generally consumable in ur site . it should be placed inside the app_code folder.Would u like to place the class in the app_code folder?
Why did microsoft recomended to add the class in the app_code folder?
If you have an apple & I have an apple and we exchange our apples, then each of us will still have only one apple but if you have an idea & I have an idea and we exchange our ideas, then each of us will have two ideas!
|
|
|
|
|
Check this[^]
I Love T-SQL
"Don't torture yourself,let the life to do it for you."
|
|
|
|
|
app_code directory is added from .NET 2.0 onwards. Classes kept in the app_code directory are accessible to the whole website. When ASP.NET compiles, app_code and it's subdirectories will be compiled as a single assembly.
|
|
|
|