|
Hello,
currently I'm fighting with the problem of making ISAPI URL filter for guarding unauthorized access to the files stored in the ASP.NET site (not .aspx files). I tried to use the temporary cookie for listing the folders you could access. I access the cookie info through ALL_RAW server variable. It works well on my computer (IIS 5.0), however the solution does not work on my coleguage's XP machine (IIS 5.1). Whereas on my computer the ALL_RAW contains the asp session cookie, the asp webforms authorization ticket cookie and the special cookie with the list of directories user is authorized to access, on his computer I lack a them. The HTTP_REFERER variable is empty on his computer too.
The filter is normal ISAPI filter and the code takes effect only inside of the ASP.NET application.
Does anyone any idea why it is so? Please help, any comments appreciated.
Thanks
Vasek
Vasek
VB6, C#, MS DNA, MS.NET
Software Developer
|
|
|
|
|
Greetings,
Has anyone attempted to read and write ini files using VBScript? Several possible methods come to mind. Before I head down the trial and error path I thought I would ask if anyone else has already found a solution.
TIA,
Steve
No matter where you go, there you are.
|
|
|
|
|
If VBScript is anything like JScript FSO(File system object) is the only way to go.
Cheers
How do I print my voice mail?
|
|
|
|
|
Unfortunately, using the FSO would require the recreation of the whole funtion. I was hoping for a means to implement the GetPrivateProfile function with VBScript.
|
|
|
|
|
There is no way, except for using COM objects(JScript anyways) a script can access anything in the windows API.
How do I print my voice mail?
|
|
|
|
|
I have an XML file that is a template for presenting some of our output data. The XML template file is read and manipulated with the XML DOM in C++ code to customize some of the contents. A separate XSL file is available to transform XML tags into pretty HTML, and since my XML file uses these tags, I can see the nice HTML display.
In order not to have to send around and manage both the XML and XSL files (the XSL file I have no control over), I would like to now start with the HTML file, and using the XML DOM, manipulate its contents.
The problem: how can I save the "rendered" HTML tags that are the result of the XSL transformation? Once the HTML is in a web browser, clicking on SaveAs only saves the original XML, not the rendered HTML. I've also tried JavaScript to transform the XML using the XSL, but saving that only saves the original page containing the JavaScript.
Any suggestions?
Dave
"You can say that again." -- Dept. of Redundancy Dept.
|
|
|
|
|
There is a s/w available for download.It gives you the rendered HTML tags. The link is http://www.topxml.com/xselerator/download.asp .Hope this will help you.
|
|
|
|
|
our current classic ASP application draws some custom round-ended buttons by doing something like this:
<br />
<table border='0' cellpadding='0' cellspacing='0'><br />
<tr><br />
<span onclick="<%= target_url%>"><br />
<td><img src="leftside.gif"></td><br />
<td background="button_middle.gif"><%=GetButtonText%></td><br />
<td><img src="rightside.gif"></td><br />
</span><br />
</tr><br />
</table><br />
basically, it works because a SPAN can handle an onclick event.
well now i've been asked to write a class to do this in C#, and i don't have a clue where to begin. is this something you can handle by overriding the standard button C# class, or would this be some other kind of web control, or... ?
any help is appreciated.
Software | Cleek
|
|
|
|
|
Have a look in the articles, someone has already posted a .Net control for creating rounded displays.
If not, you can extend the button control or the basic System.Web.Control to create your own server control, basically you just add the html you need during the Render method, again there are plenty of articles here already explaining how to do this.
|
|
|
|
|
ChrisAdams wrote:
again there are plenty of articles here already explaining how to do this.
i looked and didn't find any that looked promising. i realize this is probably very basic stuff...
-c
Software | Cleek
|
|
|
|
|
I am trying to create an intranet site that allows users to browse the telephone and other information about users in my Exchange 2000 directory. I know that this can be done with ASP and ADSI through the LDAP protocol, but i cannot get it to work. when i try to do a get object for an ADsPath like "LDAP://cfbc2k1/Users/" i get an error. (BTW: cfbc2k1 is my exchange server and domain controller, the domain is called cfbc.org). When enumerate the children of "LDAP://cfbc2k1", all i get is "CN=Builtin". I can access the usernames and descriptions with "WINNT://cfbc2k1", but I don't know how to get the address book type information like phone numbers.
i have read the article "Exchange Server, ASP and ADSI / LDAP" on this site at: http://www.codeproject.com/asp/Exchange_ADSI_LDAP.asp, but i can't get the example to work
thank you in advance for any help
Brad Dodson
Champion Forest Baptist Church
|
|
|
|
|
Hi Brad,
I am sure this link http://www.cdolive.com/kb.htm[^] will definitly solve your problem, there are several knowledge base articles on accessing MS Exchange Server.
Take some time to go through these and be happy.
Happy Programming,
The Phantom.
|
|
|
|
|
I have designed a web site. In page download, user can download items
by click on hyperlink (download example).
I implemented this by add hyperlink, but user click on, it always open the download file on browser. I want it show the save dialog.
How can i do this.
Thanks.
|
|
|
|
|
You can use some component for download such as smartupload.
Please check the following link:
http://www.aspsmart.com/scripts/aspSmartUpload/publigen/content/templates/show.asp?P=357&L=EN
Hope this helps
Om Prakash
|
|
|
|
|
I have a web application that I developed in asp
One of my asp page contains a , it contains four
|
|
|
|
|
At the time of minimizing the window can we get compressed data to the resized window wihout scrollbars.Means total page is appeared in resize window with small fontsize.
|
|
|
|
|
I believe a simple scroll="no" inside the body tag should do it.
How do I print my voice mail?
|
|
|
|
|
Hi,
I am working on a app which has about 100 of asp forms, on every form
there is a help button to retrieve the corelation help infomation include
a text field naned description and a imge field contents flash movie data.
Any one can tell me how to play the flash movie data to the popup window.
|
|
|
|
|
I have a good suggestion to you, why don't you persist the file name or file name along with the path in your record and play it on demand by supplying the path of that file.
Another way is to create a stream while retrieving data back from the record, just like the flash player runs the stream and while streaming runs the file.
Another way is to cater this data back into a bundle which ultimately become a format that can be run by the flash player.
May this helps.
Need further help, send a reply
Thanks.
The Phantom.
|
|
|
|
|
Anyone have experience building a search index for documents on a Web site? I can't imagine I'll ever have more than a couple of hundred docs, most of which will be < 1500 words. All I was planning on doing was:
- tally the # of word(s) in each document matching the search word(s) to determine a relevancy.
- give more weight to words that appear in the document title (say 20x)
- remove common words like "the", "an", etc. from the search
These are the things I'm wondering about after browsing the web for info on the subject...
- is it worth it to use stemming? (stay, stays, stayed, staying return the same results)
- is it worth it to use a fancy word frequency algorithm that determines word weight on a per document basis?
My 20 Favorite Films
|
|
|
|
|
u can use the indexing service, it will help u..it is so easy...u will be able to search for any word with a simple select statment
Ashraf Fathy
|
|
|
|
|
i am writting an application that prints a very lengthy page in java. Since the page is not enough for job the buffer has remaing job but printer doesnot ask for paper feed. Is there any page or printer attribute that can be set so that printer may ask for paper feed. I am using Toolkit and printjob class . Please can anyone help me. Thanks in advance
|
|
|
|
|
Okay i know this is a real simple question but i just don't know how to do it. I want to have a vertical scrolling bar that stops when all all the text is displayed. Any help would be helpful.
Thanks
Da Intern
|
|
|
|
|
Hi,
try this:
<marquee loop="1" width="200" behavior="slide" height="300" direction="up">Your text goes here</marquee>
<marquee loop="1" width="200" behavior="slide" height="300" direction="up">Your text goes here</marquee>
Juno
MCSD.NET, MCDBA, MCSE
----------------------------------------------------------
Support Team of EasyDotNet, INC. http://www.EasyDotNet.com
DataForm.NET - The most powerful data entry web server control for ASP.NET
|
|
|
|
|
Hi,
How to retrieve a value in [TEXTAREA] in an aspx page?
Normally it is easy, drag and drops the textarea in aspx page and it is work. But in this case, I generate the html code manually () and put as literal html in the aspx page. How to do for retrieving the value in my textarea without define a variable (runnat server) in c# code?
I thought this code retrieve all controls and value in all tag inside the Form tag, it is not the case.
for(int i=0; i<request.form.count;i++)
{ response.write(request.form[i]+="" "<br="">"); Response.Write(Request.Form.Get(i)+ " "); Response.Write(Request.Form.GetKey(i)+ " ");
}
Example: html
TEXTAREAcoucou TEXTAREAcoucou
Could you help me?
Bye bye
-=zoltx=-
|
|
|
|