Hi guys,
I have to implement gmail style chatting in my asp.net website. now i know much has been said in this regard here and other forums...about COMET and its befits....
i recently saw this site www.indyarocks.com and when i profiled their website i found out that for chatting they send a async request and the page waits until the s...
I'm using JAVA DB (derby)
I want to import a public view of my data to another database (also in java db).
I want to pass this data and save in to the other database. I'm having trouble since the general rule is one connection to one database.
Help would be much appreciated.
...
Hi! all,
SqlServer server = SqlServer.CurrentServer;
try
{
server.Connect();
}
catch (System.Exception ex)
{
//Response.Redirect("Error.aspx?errorPassCode=" + 2002);
Response.Redirect(String.Format("error.aspx?errormsg={0}&stacktrace={1}",
Server.UrlEncode(ex.Message), Server.UrlEncode(ex.StackTrace)));
}
SqlDat...
I'm currently trying to run a certain procedure (sql 2005) in VB6, passing some parameters:
Dim conn As Connection
Set conn = New Connection
conn.Open "Provider=whateverprovider;Data Source=whateversource;Database=whateverdatabase;User Id=whateverID;Password=whatever"
Dim CMD As ADODB.Command
Dim rs As ADODB.Recordset
Set CMD = New ADOD...
Hi,
after trying to merge changes to an svn trunk back to the branch with the following command:
../branches/myBranch$ svn merge -r 94:171 https://.../trunk --dry-run
I get the following error from SVN:
svn: REPORT of '/svnroot/simspark/!svn/vcc/default': Could not read chunk size: Secure connection truncated (https://simspark...
I am making some updates to a php site which I did not design. I have a local copy of the site. At the top of each page there are settings for the host name for the db connection.
Is there someway I can setup a pointer to the remote address. The address is 'mysqlhost' for example and I want that to point to 'mysql.myhost.com'. I tried ...
Hi,
The connection doesn't respond when beeing set from a new thread:
Code 1 (responds fine):
[self setConnection];
}
- (void)setConnection{
NSLog(@"setting myConnection with request");
myConnection = [[[NSURLConnection alloc]initWithRequest:[NSURLRequest requestWithURL:requestURL] delegate:self] autorelease];
}
Log 1:
201...
Hello all
Image that PC1 and PC2 are trying to communicate via UDP. PC1 is behind a router and PC2 is not.
PC1 sends out a UDP datagram to PC2.
PC2 can of course receive. Then PC2 sends back a UDP datagram to PC1.
We know PC1 can receive too, even if there is a router. The router will record the data channel (I do not want to use "...
Here's the thing. I need a daemon running on the server which basically will open an smtp connection, then it will expect calls to the process to send e-mails through the opened connection.
This is to avoid connecting to the smtp every time, instead I can receive multiple calls to the process but connection only one time.
By the way, t...
Where is the most secure place to put MySQL database connection details when connecting via a PHP script?
$connection = mysql_connect($hostname, $username, $password);
if (!$connection) {die('Could not connect: ' . mysql_error());}
mysql_select_db($database, $connection);
I know it's not a good idea to put them directly in the script ...
Hello,
WM5 Symbol MC70 device
I am trying to find out settings for modem connection so to make it try to dial one number first and if it is not successfull try to dial other number, something like alternates in windows xp connections.
My problem is that i need to connect to ISP but some devices can use internal and some external dial(ex...
When using a PreparedStatement in JDBC, should I close the PreparedStatement first or the Connection first? I just saw a code sample in which the Connection is closed first, but it seems to me more logical to close the PreparedStatement first.
Is there a standard, accepted way to do this? Does it matter? Does closing the Connection also...
Hi
I want to connect to mySQL database which is located in a web-server (siteground) which is a web hosting company..
can this be achieved , is there a port to connect to the mysql database like (3306).
if not , are there any servers online where this can be achieved?
PS: I'm using Delphi, and I'm using mysql locally using odbc.
...
Hi
I try to write codes about sending email using Zend Framework. Here is the code,
$mail = new Zend_Mail('utf-8');
$mailConfig = array(
'auth'=> 'login',
'username' => '[email protected]',
'password' => 'samplepassword',
'ssl' => 'tls',
'port' => '587';
$tr = new Zend_Mail_Transport_Smtp('smtp.gmail.com', $mailConfig);
Ze...
In my project for Blackberry 4.5, I create HttpConnection via Connector.open. If I connect over MDS, I can specify ConnectionTimeout in additional params to my URL. How can I specify timeouts if using direct TCP connection or TCP over WiFi?
...
I was wondering does anyone know if its possible to open a wifi and a 3g connection at the same time on Android?
Is there any way to control access to both Wifi and 3g/GPRS data connections and use them at the same time?
...
I am connecting through Windows Authentication. I have two webservers on local system.
IIS 6.0 on port 80, Apache 80:80; I have created a DSN and connected. I have written simple ASP/VBS Script and connected with this DSN.
I've tried to use this DSN using odbc_connect in PHP and it failed. I then tried the connection as outlined he...
I moved to ASP.NET from PHP where the queries are run directly. So I always create Connection in the Page_Load Event, dispose it after I do all stuff needed, and access data with NpgsqlCommand. (Yes, I use Postgresql in my ASP.NET applications.)
After starting to learn ASP.NET MVC I was amazed how easy it is to access SQL with the LINQ ...
Hi,
We are facing similar problem, we have WCF service and ws client is in Java using axis 1.4.
We have followed your advice and checked for the firewall , there is not any, and tried to access trough telnet and it is working fine. Can you please provide us any workaround/idea or any setting need to be checked.
Thanks,
Partha
...
hello, i'm working with vs08 and vss, i installed a vss version as a "stand alone" version on my computer for developing and testing a programm that connects to vss and do some operation.( i'm working with asp.net --> vb)
by installing vss there is a plug- in for vs08 availible,
but i have problems to work with this.
<%@ Import Namesp...