|
The window.history property is an array of URL strings which reflect the entries in the History object
the previous property contains the complete URL of the previous element in the History list, and is the equivalent of the URL the user would go to if they selected Back in the Go menu.
Syntax: history.previous
Navi
|
|
|
|
|
Hi,
I am a software engineer...and i am very new too.Many of friends have their website for blogs.
I have the wish to create one website for me..How should id do?
I will make it by using HTML.
But i need the things where i register my website?
Cost of registration?Or any free webhosting?
I need the details of this and procedures to create the website also.Pls anybody help me..
-- modified at 8:38 Monday 28th August, 2006
Anu
|
|
|
|
|
If you are looking for a blog, wordpress, blogger etc... are there at your disposal and for using blogs, you are not needed to be an expert in the web technologies.
-Sarath.
The more you can dream the more you can do - Michael Korda"
|
|
|
|
|
There are also many web hosts tha wil give you free web space, however you wont get a .com address but a very long address, more like a page inside a web site. Go to your search engine Google.com and start looking. These web site also give step by step instructions on deploying your web site
Oliekrokenosterpikkelikkeastrysvoel
|
|
|
|
|
A software engineer that needs these questions answered?
---------------------------
127.0.0.1 - Sweet 127.0.0.1
|
|
|
|
|
Well, he (assuming it's a he) did say he was new..
--
Mit viel Oktan und frei von Blei, eine Kraftstoff wie Benziiiiiiin!
|
|
|
|
|
I don't think you can. The quota for otherwise useless websites has been met (and exceeded), so web hosts are taking proactive steps to prevent the exponential increase of idiot wanna-be web masters.
"Why don't you tie a kerosene-soaked rag around your ankles so the ants won't climb up and eat your candy ass..." - Dale Earnhardt, 1997 ----- "...the staggering layers of obscenity in your statement make it a work of art on so many levels." - Jason Jystad, 10/26/2001
|
|
|
|
|
Hi Guys,
We have an app with 3 tiers a data,bussiness and presentation layer(asp.net 2.0). Any exceptions thrown by the data layer are caught and logged by the business layer, which then throws a custom exception to the ui which displays a simple message to the user which does not divulge any sensitive information to the user.it is unwanted to have a try catch block for every method in the business layer which is growing considerably so i want to catch the unhandled exception in one generic catch for the business layer (see below), this method would log the exception,send out notifications and create new custom exception which would be thrown to the presentation layer. All classes in the business layer would subclass a base class which would have the code that assigns the unhandled exception delegate in its constructor. the code works in an console application but it does'nt work in a Class Library Project which is what our bussiness tier is. The Application_UnhandledException is called if it's in console,or normal windows app but i need this method to be called in a class library project. Any assistance is greatly appreciated,it become very urgent to get this working. Thanks guys
e.g
AppDomain.CurrentDomain.UnhandledException += new UnhandledExceptionEventHandler(CurrentDomain_UnhandledException);
public static void Application_UnhandledException(object sender, UnhandledExceptionEventArgs e)
{
if (e.ExceptionObject is System.Exception)
{
//TODO LOGGING CODE,notifications ETC
}
}
The Global.asax file in the presentation layer would catch the final custom exception in the application error method. The message the user would see is simple e.g An Error Occured. The Error was logged and the support team has been emailed details of the error, please contact you admnistrator for further assistance.So The ErrorPage.aspx would use the innerexception of the exception object (CustomException) and display the simple message contained in it
void Application_Error(object sender, EventArgs e)
{
// Code that runs when an unhandled error occurs
Exception exc = Server.GetLastError();
Session.Add("LastError",exc);
Response.Redirect(@"~\ErrorPage.aspx", true);
}
|
|
|
|
|
The Application_UnhandledException will be called at application level if you don't catch the exception. As you catch it in the presentation layer, it's never unhandled.
You can't make the Application_UnhandledException work in a library, as a library is not an application.
---
b { font-weight: normal; }
|
|
|
|
|
Hi! there is a text box & a button. text box recieved pages ranges to print pages from a given document: 10-20,12,13,21-58 etc. i want a regular expression in javascript to match this pattern.
sam.
|
|
|
|
|
Do you want to match it for validation, or to extract data? Something like this?
"^(\d+(-\d+)?)(,(\d+(-\d+)?))*$"
---
b { font-weight: normal; }
|
|
|
|
|
Hi,
I just made a Ajax scripts directory and i need help to add interesting ajax
scripts and tutorial in it.
You can add your own ajax scripts, files, tutorial and your website link into
our website.
www.scriptsajax.com
Gino www.toolurl.com
|
|
|
|
|
i want to add webparts dynamicalyy
i am unable to do it ?
plz send me code how to add webparts and webpartzone at runtime
see the website www.netvibes.com
i want to make somewot like this
thnk you
intresting in asp.net
|
|
|
|
|
When i have created new website from Visual Studio 2005.Error message is displayed with "Visual Web Developer does not support creating Web sites on a SharePoint Web server".i can't created new WebSite in VS2005.
how will it solved ? .please reply me as soon possible.
Jignesh Patel
|
|
|
|
|
hi all
which one is best,
Response.redirect(""),
server.transfer("")
i have pass querystring values
thanks
|
|
|
|
|
Depends upon your requirement.
By both way you can pass the querystring.
Best Regards,
Apurva Kaushal
|
|
|
|
|
That depends on what behaviour you want.
Response.Redirect sends a redirect page to the browser, so the browser will be sending a request for the url that you specify.
Server.Transfer just continues execution in the new file, using the same response.
---
b { font-weight: normal; }
|
|
|
|
|
Hi all!
I need function for adding no of days to a date & return the new date similar in vb.Can someone pls provide reference from where I can get this.
Thanks for your time & help
|
|
|
|
|
|
Here is a prototype that adds an addDays method to the Date type:
Date.prototype.addDays = function(days) { return new Date(this.getTime() + 86400000 * (days)); }
Example:
var now = new Date();<br />
var tomorrow = now.addDays(1);
---
b { font-weight: normal; }
|
|
|
|
|
Thanks Guffa
It works correctly with present date but when I use setDate(year,month,date) to addDays it works incorrectly.Can u assist please
Regards!!
Nitin
|
|
|
|
|
Can you show some code that demonstrates the problem?
The setDate method doesn't take three parameters, only one.
If you use new Date(year, month, date), are you aware that the month value is zero based?
---
b { font-weight: normal; }
|
|
|
|
|
I am able to access and consume my ASP.NET 1.1 WebService from JavaScript (and in fact from a Windows App). No problem.
When I pass a simple string parameter into the WebMethod it is accepted and processed successfully when called from a Windows App.
When I pass the same simple string parameter thru the SOAP Envelope from JavaScript, the WebMethod does NOT receive the param properly.
I am not sure what is missing. The same SOAP syntax works for me in other WebService calls. Why not in this simple case ?
Do I need to dig deeper into my setRequestHeader for some missing header ? Could this be a security related problem ?
I have tried many permutations and reduced the test to a very simplified case shown below:
C# WebService code --
[WebService(Namespace="FinfootSystemsGroupWebServicesNameSpace")]
public class WangoTango : System.Web.Services.WebService
{
public WangoTango()
{
InitializeComponent();
}
[WebMethod]
public string NudgeNudgeWinkWink(string foo)
{
return "|" + foo + "|";
}
}
In JavaScript I set up the following HEADER:
var strContentType = "text/xml"
var strMethodName = "NudgeNudgeWinkWink"
var strNameSpace = "FinfootSystemsGroupWebServicesNameSpace"
var strServiceUrl = "http://localhost/FinfootSystemsGroupWebServiceTest001/WangoTango.asmx"
objXmlHttp.open("POST", strServiceUrl, true);
objXmlHttp.setRequestHeader("MessageType", "CALL")
objXmlHttp.setRequestHeader("Content-Type", strContentType)
objXmlHttp.setRequestHeader("SOAPAction", strNameSpace + '/' + strMethodName);
objXmlHttp.onreadystatechange = getWebServiceResultsAfterLoad
objXmlHttp.send(strEnvelope);
Here is the actual SOAP envelope passed:
<?xml version='1.0' encoding='UTF-8'?>
<SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsi="http://www.w3.org/1999/XMLSchema-instance" xmlns:xsd="http://www.w3.org/1999/XMLSchema">
<SOAP-ENV:Body>
<ns1:NudgeNudgeWinkWink xmlns:ns1="urn:FinfootSystemsGroupWebServicesNameSpace" SOAP-ENV:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/">
<foo xsi:type="string">TestString</foo>
</ns1:NudgeNudgeWinkWink>
</SOAP-ENV:Body>
</SOAP-ENV:Envelope>
Here is the *empty* xmlhttp responsetext returned:
<?xml version="1.0" encoding="utf-8"?>
<soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
<soap:Body>
<NudgeNudgeWinkWinkResponse xmlns="FinfootSystemsGroupWebServicesNameSpace">
<NudgeNudgeWinkWinkResult>||</NudgeNudgeWinkWinkResult>
</NudgeNudgeWinkWinkResponse>
</soap:Body>
</soap:Envelope>
The result is missing the incoming parameter value. What happened to the parameter "TestString" that was passed into the WebService.
Any ideas or suggested directions would be greatly appreciated.
|
|
|
|
|
I downloaded an evaluation copy of Mindreef's SOAPScope 5.2 which presented a variation to my SOAP Envelope.
The following Envelope magically worked and my incoming parameter was miraculously read by the webservice.
<soapenv:Envelope
xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/">
<soapenv:Body>
<tns:NudgeNudgeWinkWink
xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns:xs="http://www.w3.org/2001/XMLSchema"
xmlns:tns="FinfootSystemsGroupWebServicesNameSpace">
<tns:foo>TestString2</tns:foo>
</tns:NudgeNudgeWinkWink>
</soapenv:Body>
</soapenv:Envelope>
I am a happy camper now.
|
|
|
|
|
I was just wondering if there is anything like the codebehind feature of .net that could be used in regular .asp? I have a page that basically just loads a java file in it, but I don't want people to see the name of the java file being loaded since they could just download it that way. This is the part that loads the file:
<APPLET CODE = "com.javaplayer.v333.javaPlayer.class"
ARCHIVE = "javaplayer.jar" WIDTH = 720 HEIGHT = 540>
<PARAM NAME = "ARCHIVE" VALUE = "ImPlayer333.jar">
<PARAM NAME = "BGCOLOR" VALUE = "3366FF">
<PARAM NAME = "FILE" VALUE = "javafilename.jar">
If I can somehow "hide" all of that, but still have the page load then great, otherwise I'm not sure what else to try to keep the files safe.
-- modified at 15:44 Thursday 24th August, 2006
|
|
|
|