|
Hi
Thanks your information.
I need some other way use this.
Thanks in Advance
Rameshkumar Thirumalaisamy
|
|
|
|
|
Hello,
Is it possible to check whether a particular session of a user, for a URL is running or not from an external application or service?
For instance
If I log on to www.myweb.com with username = "me", Is it possible to check its current user's username, from a .net application or any other background process?
Thanks
Nitz
|
|
|
|
|
Add an asmx to the application.
Modify the proxy and than you can query this from any of the application in world:->
|
|
|
|
|
hello,
i need your opinion on a design issue. we have a pretty large website with quite a lot of traffic written in asp. we are using a third party asp cache object, which makes us unhappy, due to lack of stability. now i'm confronted with the task to replace this cache object with something new.
-> the object should expose a com interface, so that it can be used from withing asp script
-> the object should be able to not only store strings, but objects as well
-> the cache manager should not run within the same process as iis
-> the cache object should be extensible, so that the a newly added server can access the same cache
-> we might port the site to asp.net sometime. it would be nice if we could the continue using the cache object
-> i'm pretty good at writing c# code but have close to no experience in writing atl/c++ stuff
how would you handle this? any ideas/help is greatly appreciated.
/matthias
I love deadlines. I like the whooshing sound they make as they fly by. [Douglas Adams]
|
|
|
|
|
hi,
i have a login page,its working fine when i put the username and password,it check it from the database..and allow the user to view the protected page..
but when the user click the back button ,the login page appear again and when he click the forward button without entering its username and password,it go the protected page..
someone have any idea wat can i do? to prevent that.
i tried the following solution,its not working fine.
1)<%session.timeout=-1%>
2)<%response.expires=-1%>
any idea?
|
|
|
|
|
hi,i have done some more search on the net,and came to the conclusion that it is impossible to,change the function of the back button of the browser,and if it is possible ,it wont be user friendly..
i got that script,inturn,it working fine..
<!--
javascript:window.history.forward(1);
try to place it in the head of the page you dont want the user to go back ..
i just put that code here,for anyone in future,with same problem as mine to use it
thanks
|
|
|
|
|
I need to display some information from a text log file. The information being called in is between a lead in and lead out in the log. Here is an example of what the log file looks like.
<++++++++++++++++++++>
<RECEIPT>1234
INFO INFO INFO
INFO INFO INFO
1234</RECEIPT>
<++++++++++++++++++++>
<RECEIPT>4567
INFO INFO INFO
INFO INFO INFO
4567</RECEIPT>
<++++++++++++++++++++>
As an example I want to display just the INFO for receipt 4567 and not the <RECEIPT> lines or the <+++++> lines.
I have been playing with the readfile.asp page and it will read the entire file and display it now I just need to limit that to what is between the receipt lines.
Any help will be appreciated. New to asp and web dev.
|
|
|
|
|
You'll need to modify the program so that rather than reading from the file and immediately outputting it, you actually look for the start and end lines, and only output the data between them.
|
|
|
|
|
Im with you....the question is how
|
|
|
|
|
Try PHP String functions
Trinity: Neo... nobody has ever done this before.
Neo: That's why it's going to work.
|
|
|
|
|
|
nishant sebastian wrote: what are the questions or requirements that i should put forward for deploying this small web app other than the ones below
1) IIS installed.
2) does he have a domain name? (should he have a registered domian name for this web app, if all the users are in the organization intranet located world wide, if that is possible)
3) Do you really want a would be freelancer beginner to do this project?
only two letters away from being an asset
|
|
|
|
|
3) .NET Framework installed (for VS 2003 1.1 or later, for VS 2005 2.0 or later)
4) A web site set up in IIS
5) An FTP account set up to access the web site
FTP works fine. You can make Visual Studio deploy directly to the FTP site.
---
single minded; short sighted; long gone;
|
|
|
|
|
nishant sebastian wrote: 1) IIS installed.
Yes. And What version?
nishant sebastian wrote: 2) does he have a domain name? (should he have a registered domian name for this web app, if all the users are in the organization intranet located world wide, if that is possible)
If he already has a intranet accessible by all employees, your application can be linked into to the homepage. Else, if you want your application to have a separate URL accessible over www, you need a domain.
nishant sebastian wrote: s FTP method the best means to deploy the web applicaion to IIS, once development is complete on my machine?
FTP is OK. But if you're using VS professional, you can use the "Publish" feature to deploy your application. The "Publish" feature is quite comprehensive and covers almost everything related to deployment of a web site.
Additionally.
3) What version of .NET does your client have? If he's 1.1, would he consider upgrading to 2.0?
4) How're you going to manage security? (Authentication and authorization). I dont believe that he'll want the users to remember an additional username and password for your application.
And as for your proposition, a windows application developer can quite easily get lost when developing web apps. You must be ready for some quantum shift in your thinking.
All the best!
SG
|
|
|
|
|
nishant sebastian wrote: 1)If i am using VS.NET 2005 for development with IIS 5.1 what is the minimum required version of IIS that shud be installed in the prod server?
That technically wont matter. But I'd reccomend IIS v6.0. You'd have some configuration issues when you first try to run a ASP.NET site built in .NET 2.0 when you're using IIS 5.x.
nishant sebastian wrote: 2)How would i able to ask him whether he has an intranet?
I'm sure his office will have an IT dept. Maybe you can get this clarified from them. Anyway, deployment is the last of your problems, and it wouldn't impact your design or development in any way.
nishant sebastian wrote: why I am doubting is that the app to be devloped is for just 10 to 12 users located worldwide and no prospective users for now
Hmmmm....this requires a public URL, so maybe they access over the internet.
nishant sebastian wrote: If there is an intranet then i assume windows authentication will suitable, am i right?
Not necessary. Windows authentication requires Active Directory. If their network has different platforms like unix, windows, macs etc, AD would have been ruled out. Also, if they access the site over internet, Windows Authentication can be ruled out. So clarify this with them and put in your own authentication infrastructure.
SG
|
|
|
|
|
Ok so Im a beginning developer for my web siteand I need some help. I want to make it so that when I click on the program I want to download a small window opens up and displays its information that is in an xml file:
<?xml version="1.0" encoding="iso-8859-1"?>
<products>
<download id="bustin' blox">
<name>Bustin' Blox</name>
<file_size>2 Mb</file_size>
<summary>Our version of Brick. Only One Level</summary>
<version>1.0.0</version>
</download>
<download id="">
<name></name>
<file_size></file_size>
<summary></summary>
<version>...</version>
</download>
<download id="">
<name></name>
<file_size></file_size>
<summary></summary>
<version>...</version>
</download>
</products>
I have found some javascript for the window, but I am having trouble editing it
(in the external file):
var win = null;
function NewWindow(mypage,myname,w,h,scroll){
LeftPosition = (screen.width) ? (screen.width-w)/2 : 0;
TopPosition = (screen.height) ? (screen.height-h)/2 : 0;
settings =
'height='+h+',width='+w+',top='+TopPosition+',left='+LeftPosition+',scrollbars='+scroll+',resizable'
win = window.open(mypage,myname,settings)
}
(the html):
<a href="Downloads/programs/games/bustin'_blox.exe" onclick="NewWindow(this.href,'name','730','400','yes');return false">Bustin' Blox</a>
Any help?
-- modified 17-Sep-17 23:50pm.
|
|
|
|
|
|
umm im not exacty sure how this pretains to the question.
|
|
|
|
|
It doesn't.
---
single minded; short sighted; long gone;
|
|
|
|
|
Haun the 2nd wrote: umm im not exacty sure how this pretains to the question.
The format of the resizable parameter on the windows open method is "resizable=yes|no|1|0".
See HTML DOM open() Method[^] for details about windows open method.
Taking a look at your settings I noticed that you are not formatting the resizable parameter with a value and suggested that you format it with a yes (one of the acceptable parameters specified for the windows open method), presuming you want to make the window resizable.
It is just a thought so you can try it or not, as you please.
You did mention that you are a beginner so here is the actual settings string so you can understand what I am talking about.
Haun the 2nd wrote: settings =
'height='+h+',width='+w+',top='+TopPosition+',left='+LeftPosition+',scrollbars='+scroll+',resizable'
try settings =
'height='+h+',width='+w+',top='+TopPosition+',left='+LeftPosition+',scrollbars='+scroll+',resizable=yes'
Not sure that is your problem but it is just something I noticed.
|
|
|
|
|
nope not the problem. I also just reailised that I don't have an XML phaser.
is there a tutorial i can read or a very helpful someone who could help me with that?
|
|
|
|
|
Haun the 2nd wrote: nope not the problem
Just an observation. It will not hurt to have well formed javascript.
Haun the 2nd wrote: is there a tutorial i can read
XML Tutorial[^]
Good luck solving your problem.
|
|
|
|
|
If you want both the download to start and a window open with the information, you need to open two windows.
Do you have access to some server scripting (like ASP.NET, ASP, PHP, JSP...) that you can use to read the information from the xml file and present it as a page?
---
single minded; short sighted; long gone;
|
|
|
|
|
I have PHP, and possibly JSP.
|
|
|
|
|
I want to send a html mail with multi-language in php.
Some part of mail content is from database. And some part user have to enter.
My database is ok. And Unicode utf-8 is used.
When I am retrieving data from database to my web page is ok. And coming in Russian language,
But when I am using same content to send email, the content comes with Unicode character but not in Russia language
I want mail in Russian language.
output of mail content is ----------------------------------
ÐÐºÐ°Ð´ÐµÐ¼Ð¸Ñ Ð¤ÐµÐ´ÐµÑ€Ð°Ð»ÑŒÐ½Ð¾Ð³Ð¾ агентÑтва ПравительÑтвенной ÑвÑзи и информации при президенте РоÑÑийÑкой Федерации
Ð˜Ð¼Ñ Ð¿Ð¾Ð»ÑŒÐ·Ð¾Ð²Ð°Ñ‚ÐµÐ»Ñ # из # Ð¸Ð¼Ñ Ð²ÑƒÐ·Ð° # приглаÑил Ñ‚ÐµÐ±Ñ Ð²
---------------------------------------------------
my mail code is as follows-------------
$message = "
$mail1_invitationsent $mail2_invitationsent |
| $mail3_invitationsent ($college_name) |
| | $mail_contents | | | | $mail4_invitationsent | | $mail5_invitationsent | | |
|
|
|
";
// To send HTML mail, the Content-type header must be set
$headers = 'MIME-Version: 1.0' . "\r\n";
$headers .= 'Content-type: text/html; charset=utf-8' . "\r\n";
$headers .= 'From: xxxxx' . "\r\n";
mail($to, $subject, $message, $headers);
----------------------------- end of code-----------------------
some variables are used to change language
and
$mail_contents is the vatiable of mail contents which is partly from database and partyt from use input.
Plz. solve my prob
Bharat Bhusanam
|
|
|
|