Wrox Programmer Forums
|
Classic ASP Basics For beginner programmers starting with "classic" ASP 3, pre-".NET." NOT for ASP.NET 1.0, 1.1, or 2.0
Welcome to the p2p.wrox.com Forums.

You are currently viewing the Classic ASP Basics section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old December 8th, 2006, 03:20 PM
Friend of Wrox
 
Join Date: May 2005
Posts: 189
Thanks: 0
Thanked 0 Times in 0 Posts
Default error.asp?

Hei!
How or where do I set the font-color on the message tekst when using
<% Response.redirect "error.asp?messagetext=error-message" %>
Where do I put the <td class=errortext>?

Mvh
grstad
__________________
Internet has become favorable with that tool...thank you Tim Berners-Lee!
 
Old December 8th, 2006, 03:25 PM
Friend of Wrox
 
Join Date: May 2006
Posts: 643
Thanks: 0
Thanked 0 Times in 0 Posts
Default

I am unclear on your request. If I understand you correctly, you want some text to show up in red in an error page. The html for that goes into the error.asp page itself.

Woody Z
http://www.learntoprogramnow.com
 
Old December 8th, 2006, 03:35 PM
Wrox Author
 
Join Date: Oct 2005
Posts: 4,104
Thanks: 1
Thanked 64 Times in 64 Posts
Send a message via AIM to dparsons
Default

On your error page you can do something like

<%
Response.Write("" & Request.QueryString("messageText") &"")
%>

Or

<td class=errortext><%=Request.QueryString("messageTex t")%></td>

-------------------------
I will only tell you how to do it, not do it for you.
Unless, of course, you want to hire me to do work for you.

^^Thats my signature
 
Old December 8th, 2006, 03:58 PM
Friend of Wrox
 
Join Date: May 2005
Posts: 189
Thanks: 0
Thanked 0 Times in 0 Posts
Default

...thank you dparsons and woodyz!

Mvh
grstad





Similar Threads
Thread Thread Starter Forum Replies Last Post
Error in Migrating Project from ASP to ASP.NET hbansal ASP.NET 1.0 and 1.1 Professional 0 September 12th, 2008 05:48 AM
ASP error redski Classic ASP Basics 3 December 8th, 2005 10:29 PM
ASP "no right" error Edward King Classic ASP Basics 2 January 13th, 2005 06:55 AM
ASP error cudjoe83 Classic ASP Databases 2 August 26th, 2003 04:49 AM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.