Show Alternate Index Pages
I am going to need to offer alternate index pages for each user that visits the site. So, I would have index1.asp and index2.asp. User 1 gets index1, user2 gets index2, user 3 gets index1, user 4 gets index2 and so on. how to do this?
View Replies
ADVERTISEMENT
I have set up Index Server in IIS to search my intranet. I've installed the Adobe PDF filter so that words from PDF files are included.
I can get results from PDFs when querying the catalogue in the Windows console. However, I have tried various ASP Search pages and they all ignore PDF files from a browser (even though the scripts include the pdf extension).
View Replies
View Related
I want my site to show profile of registered users. But it should be of this format, like www.abc.com/username. But I do not want to create folder for each users. I want to display the user profile from a database and populate it in a display page according to the profile name typed in the address bar, after the site name.
View Replies
View Related
I want my site to show profile of registered users. But it should be of this format, like www.abc.com/username. But I do not want to create folder for each users.
I want to display the user profile from a database and populate it in a display page according to the profile name typed in the address bar, after the site name. It should be something like in Yahoo Profile.
View Replies
View Related
I am uploading to a server for the first time. I believe that my server will not point to .asp pages as the start page, only .htm is this correct?
I wanted my index.asp page displayed first from the web-site by default, but have been told that I need say, an index.htm which then points to my index.asp page.
Is there a way that I can use my index.asp page as my start page?
View Replies
View Related
I have these two pages on root directory on the serverhow do i tell the server which one to pick up, or will the browser pick up the .html by default or do i have to manually configure it to do so?
View Replies
View Related
I found one website say that it will auto alternate the position of advertisements for every 5 minute. My question is how can they do that.If we want to change database like this we have to use internet explorer to call asp script in client side.
Does the webmaster of this website always open that asp page and make it runs all the time?Or can we always 24 Hrs. run the asp script on the Server not Client?
View Replies
View Related
Using HTTP_REFERER I cannot capture the URL when the link is made via a
button:
<input type="button" name="Continue" value="Continue Shopping"
onclick="ContinueShopping('http://mysite/supertest.asp');">
I do not control the script above, it is on an e-commerce site that is very
generic, meant for many users - and is generated by their server code. I
want to capture the URL and with an if/then redirect if the last place
visited was the checkout site.
I need an alternate method of URL capture, rather than HTTP_REFERER.
View Replies
View Related
Attached is my code. Its working fine and produces great results but all the rows are in the same color background (unless mouse-overed).
What would be interesting to see if I can get alternative colors working here...
Can anyone dig in the code (maybe re-juggle) and help me with alternate row colors?
First Row to be #FFFFCC
Second Row to be #CCCC99 when not mouseovered
View Replies
View Related
I am putting the results from a database in a table using ASP. How can I get alternate colors in each row. (i.e. first row white, second grey, third white, forth grey, etc.)
View Replies
View Related
I am in need of something like mod_rewrite or an alternate solution.
I have a client, who's website is all HTML files (200+ files) and was previously password protected by javascript only. Anyway, what I need to do is password protect the site using a better solution, which would be a server side scripting obviously.
I am familiar with apache's mod_rewrite and PHP, which would make this problem easy to solve by simply passing the HTML file to a php file, then after neccessary security checks, pass the requested html back to the browser..
The only problem is that its on an ASP server and I have no knowledge of ASP. I am not even 100% positive what kind of server it is, I just know that .asp files work in it and .php does not.
Anyone know of something like mod_rewrite for ASP or an alternate solution that would work in my situation?
View Replies
View Related
In my application I need to read the lines from the text file. I use the following script to do that.It doesn't seem to work because of the Norton Anti virus script blocking. I cannot do anything to Norton so I want to find the alternative way to read the lines from the text file. Quote:
Dim objFSO, objTextFile
Set objFSO = CreateObject("Scripting.FileSystemObject")
Set objTextFile = objFSO.OpenTextFile(Server.MapPath("ProgrammeDetails"),1,false)
Do While Not objTextFile.AtEndOfStream
Response.Write objTextFile.ReadLine & "<BR>" & vbCrLf
Loop
objTextFile.Close
Set objTextFile = Nothing
Set objFSO = Nothing
View Replies
View Related
how to have table alternate color everytime im using for and next statement..? example:
Code:
<%
for a = 1 to 10
'write td here with alternate color..
next
%>
View Replies
View Related
Example:
Table: FRUIT
column1:
apple
bananas
grapes
column2:
I like apples.
I like bananas.
I like grapes.
I'm trying to have it where the choices from column1 are provided on the form, and based on the what was chosen on the form the corresponding choices from column2 are display on the page.
View Replies
View Related
So I have a layer with a repeating table displaying the results of a recordset that are associated with the record being displayed behind the layer in a table. The problem is when there is no record to display it looks weird there. I'm trying to get it so that when that recordset is empty it puts an alternate text in that spot saying no records were found. I tried to get it done by throwing a layer on top of the existing layer whenever the recordset is null. The problem is the code I'm doing it with won't let me have quote marks, which are required for anything more complicated than basic text. Anyone have suggestions? Here is the code I'm using: ...
View Replies
View Related
I have a fullscreen page which needs to incorporate a forward, back, and close button. I have this working fine but after a review, people suggested that the foward and back buttons not be active if they do nothing.
In other words they want them to function exactly like a standard browser's forward and back button. When you open a page in a new window, the back button is grayed out until you move to another page. The forward button is grayed out until you move back a page.
Can this be done?I need to place a grayed out image if there is no back history or forward history. Otherwise, I need an active image with the back and foward action.
View Replies
View Related
I have a set of web pages on an AD-authenticated web site that are
supposed to allow users to modify their own AD account attributes,
limited of course to things like their email address, URL, etc. I was
hoping to connect to LDAP using secure authentication as described on
a few tech web pages, and the connection works fine but when it's time
to commit the changes with .SetInfo, the script fails with: Code:
View Replies
View Related
Does anyone know of any easy way to have shading on alternative rows in a table that loops through the rows in a recordset?
View Replies
View Related
I have a page that uploads an xml file and reads it into a SQL database. The
page is transactional and aborts if there are any anomalies in the xml.
My problem is that the if I repeat an identical import the transaction
succeeds the first time and then fails the next time. This pattern continues
with subsequent repeats. I have removed all of the ObjectContext.setAbort()
calls but still the onTransactionAbort() sub is called.
View Replies
View Related
Using IIS 5.0 and sometime some asp pages (absolutely
randomly) showing as blank white pages. So far only one
way of fixing it - restart whole server. Restarting IIS,
or specific web server not helping, only whole server.
I enable server side and client side debugging, but no
errors showing up...
In view source pages always look like this:
-----------------------
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0
Transitional//EN">
<HTML><HEAD>
<META http-equiv=Content-Type content="text/html;
charset=windows-1251"></HEAD>
<BODY></BODY></HTML>
-----------------------
Any idea why it can happened and how to fix?
View Replies
View Related
I've seen in many websites that they have an index file and everylink shows a diffrent content like
http://www.mywebsite/index.asp?ArticlId=16CatagoryId=18
how can use the same index and call to a diffrent content. i tried to use the include function but didn't work.
View Replies
View Related
This is partly an ASP question and partly not an ASP question.
I'm trying to implement an ASP page that will use Index Server to provide search capability for a document repository folder. I've gotten this working on my server fine, but I'm now trying to implement it on a laptop (running Windows 2000 Pro) so that a salesman can show it to a prospective client. I was wondering if anyone knew if accessing Index Server through a web page would work on Win2kPro and the PWS it has?
Also, my working version is currently using the old style idq and htx pages and I've been having a hard time finding a good resource to show me how to do this in ASP...
View Replies
View Related
We would like an index of our documents and graphics.
They are stored on an IIS 5.0, Win2000 webserver.
Rather than the generic listing of documents, we would
like to show thumbprints.
View Replies
View Related
I’ve been busy converting my website's static pages to ASP pages. I ran into one problem. Currently there is an index.html and an index.asp in the www directory. When I delete the index.html file, I would expect the site to default to index.asp, but instead I get an error message.
Directory Listing Denied
This Virtual Directory does not allow contents to be listed.
This is the procedure I’ve used for PHP sites, but maybe there is a different rule I’m not familiar with
View Replies
View Related
I have to place a search the site text box in my .net site .I have installed MS indexing service and it has indexed my completed folder and if i query it it only shows the fields Rank,filename,Vpath,write ,size its not showing me the description and title which my headache.
I am making the query to server :
"select description,Contents,DocTitle, Filename, Vpath, Size, Write, Characterization, Rank from scope() where FREETEXT(Contents, 'market') order by rank desc"
View Replies
View Related
I have index server running and happily cataloging one site and dishing up search results via and asp page. Having created a new catalogue for another site and putting the same asp code in I don't seem to have any info in the "characterization" field! Any idea why this is? Is there something about the way the pages are built that would allow that to work or not?
View Replies
View Related
While reading a article i came accross this word "index server"?
what does this all about?
View Replies
View Related
I've been playing around with MS Index Server 3.0 (well, the one that comes with Windows 2000 Professional!) and my client has a website that generates dynamic content based on ASP code. I unfortunately require the use of Index Server because the IFilter allows support for searching within PDF files.My problem is that while all of the static content pages and PDF files are detected, indexed and catalogued fine, none of any dynamic pages are. I can clearly see why this is, since I assume Index Server doesn't have a webcrawler of any sort!I was wondering then, how people generally get around this problem, working with it? What is a quick way to get dynamic content integrated into the search? Should I find/write a webcrawler then put it into my search program or is there something better out there that will let me do all of this
View Replies
View Related
I have a custom search engine for our website that uses MS Index Server and it works great but it doesn't find any results for searches that contain french accented characters.If I'm searching for "élément"...it doesn't find anything because the page uses html codes for accents and this word would be written like
"élément" in my source code. My page uses charset utf-8 but the Index server uses 2 separate files(.htx and .idq files) and there doesn't seem to be any settings in there for this problem.
View Replies
View Related
i hv one js file for menu bar ..it create dhtml menu bar dropdown with multilisting...it work on my normal html file but if i applied on asp file where i hv dynemic select box then it breaked & my menu doesn't seen me on that list box but on other area it works....if i had put normal form list box then it runing properly.
View Replies
View Related
whether I can get market indices like DOW, NASDAQ, FTSE and diplay them in a webpage? They don't have to be real time but around half to an hour delay.
View Replies
View Related
is it possible to iterate through a recordset with an index? Something like
while NOT rs.EOF
response.write rs[0]
response.write rs[1]
response.write rs[2]
wend
What I want to achieve is the following. When I am placed on a record, then I
want to retrieve the next and prev record of the current one. Can somebody tell me
how I can do this?
View Replies
View Related
I am creating a dynamic ASP VBScript page, which gets data from an Access database.
In the database, there is a field which holds a URL to an image. I can get the image to display fine, but where there is no file that matches the URL (i.e. a missing image) I want to display an alternative, default image (e.g. one that says "Awaiting Image"). The field is never blank, but the image file may not exist for all records in the database.
I think what I am trying to get to is the following:
If file exists (using URL from database to get location of image file) then
display image using the url from the database as the image source
else
display default image - hardcoded in program
endif
I have had a go and come up with the attached but I get an error with my if statement...
View Replies
View Related