web

Extract Url from Browser Window in Python/ObjC

Is there a way to detect that an active application obtained via shared workspace (NSWorkspace.sharedWorkspace().activeApplication() is a browser (without running through the list of browsers and comparing to its 'NSApplicationName' and then extract its url (current tab) in ObjC? Alternatively, would I be more successful using Python'...

Launching a website from within a program, and inputting data to specific fields.

Although I've been programming for a few years I've only really dabbled in the web side of things, it's been more application based for computers up until now. I was wondering, in java for example, what library defined function or self defined function I would use to have a program launch a web browser to a certain site? Also as an exten...

Does a DNS change work seamlessly or is there a period when the website is unavailable?

I changed the name servers for one of my domains two hours ago. I kept checking in a browser and just now it stopped taking me to my old site. However, it just displays a "could not connect" error. I don't know if the transition took place and there's a problem with the new server or it just didn't happen yet. I know a DNS change takes...

JSON Data cannot be matched to web service signature

I still can’t seem to get this to work.I’ve tried string arrays object arrays dictionaries. I might be formatting my JSON incorrectly however I am using the labs_JSON plugin. If I remove my data and test the webservice it calls correctly. The : My code looks as follows : HTML : <div style="display: block; float: left;"> <asp:R...

Liferay 5.2: servlet.session.destroy.events hook always passes null HttpServletRequest/Response

Hello, we're trying to hook into Liferay's logout mechanism to log users out of a third-party service when they leave the portal. I understand that there's the hook mechanism which allows me to add custom implementations of Action to be executed on certain events. We tried using logout.pre.events but could never get Liferay to call our...

Silverlight and QueryStrings

What is the correct way to pick up a querystring variable that is passed to the page that the Silverlight Control is being hosted on? ...

Consuming web service in Silverlight

I have a normal .asmx web service which loads fine in the browser. When I load the web page with the Silverlight app in it, the data doesn't load and I get a javascript error which states; Webpage error details User Agent: Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 6.1; Trident/4.0; SLCC2; .NET CLR 2.0.50727; .NET CLR 3.5.3...

Web deploy and folder permissions

Hi I'm using VS 2010 to build the deployment package for a web application. I manually deploy it to the IIS 6.0 server using the deployment ccommand script it generates. All the stuff gets copied under the Inetpub default website properly. The only issue I have is that the folder permissions keep getting reset once I deploy. Say my web...

WebScarab bean shell debug

I'm using WebScarab bean shell. Just wondering what's the best way to debug the shell script? ...

Impact of web platform on GUI

Hi all Web based systems (Client Side GUI only) are known to be platform independent, But, are they development-platform independent too?? To the best i know, Client Side GUI will always be built using HTML and JavaScript/VBScript or Java or etc which are supported by all OSs and Browsers to make it independent. I am concerned about the...

WCF and Authentication

i need to pass a value from client everytime a request sent to WCF and check that value on server and decide to make the request or not, can any one write an example of that ?im not sure how is that is going be implemented case: im generating a key based on the hardware of the client and i want to send that key to the server with every ...

finding users IP Address and MAC address from web browser

Is it possible to find out the clients IP and possibly MAC address from non IE browsers (i.e. without using ActiveX)? If so, how? ...

Access to "media keys" from within a browser tab

Is there a way to access the "media keys" with Javascript from within a browser tab/window? I am mainly interested in a google chrome solution. Using the following code, there doesn't seem to be an event generated for the media keys: <html> <body onKeyDown="showKeyCode(event)"> <script type="text/javascript"> function sho...

Detecting mobile browsers on the web?

I'm curious to know how to check for iPhone, iPad and other mobile browsers.(JavaScript or CSS) Edit: Not user agent string, please. That can be faked. Possible Dupes: http://stackoverflow.com/questions/1005153/auto-detect-mobile-browser-via-user-agent and http://stackoverflow.com/questions/142273/standard-way-to-detect-mobile...

Can you use Digital Certificates with SilverLight Web pages?

I am fairly new to web development and have never used Digital Certificates before. I assume using a digital certificate on a silverlight web page is the same as using one on any other web page, but i thought i should check. There are a few example of digitally signing the .xap file on the internet, would it then be a case of simply buyi...

what is RESTful Web Services?

Possible Duplicate: What exactly is RESTful programming? what is RESTful Web Services? can some one please provide example of it ? What is difference between the asmx webservices and wcf restfull service ? ...

Error Handling CRM 4 Webservice

What is the best way to trap errors/exceptions with the CRM 4 Web service. Is there a way to get more detailed error messages from the web service? There is a custom application that creates orders and when the get a error message from the web service it is not very details or useful. Is there a better way to get more detailed message...

Calling a web service in an atomic way?

I have a MySQL database with product prices and from now on I want to synchronize another database with these values, but this other database is not in my server, and I can only update it through web services... Is there a way to make these two operations (updating my database and calling the web service for the other database to be upd...

The fastest best language to develop a fully featured web app.

Hi, I consider myself as skilled programmer and know a large number of languages. Eg Fortran, C, Ruby, Python, PHP, VB, Obj-C, C# etc. I want to build a fully featured piece of Web Based software that would have the following modules. 1. Calendaring System for managing bookings. 2. Record keeping and notes system to record details abou...

Problem embedding javascript for loops in liftweb static content

Here's what I tried... I put this in a file called <mySbtBasedProjdir>/src/main/webapp/static/simpleForLoop.html <lift:surround with="default" at="content"> Why is this a problem in liftweb? <script type="text/javascript"> var i=0; for (i=0;i<=5;i++) { document.write("The number is " + i); document.write("<br />"); } <...