Print Page | Close Window

Security Imaged - BIG PROBLEM

Printed From: Web Wiz Forums
Category: Web Wiz Web App Support Forums
Forum Name: Web Wiz Forums
Forum Description: Support forum for Web Wiz Forums application.
URL: https://forums.webwiz.net/forum_posts.asp?TID=16687
Printed Date: 17 April 2026 at 11:30am
Software Version: Web Wiz Forums 12.08 - https://www.webwizforums.com


Topic: Security Imaged - BIG PROBLEM
Posted By: megetron
Subject: Security Imaged - BIG PROBLEM
Date Posted: 25 September 2005 at 5:52pm
Hi all,
I edited the register.asp. instead of the line:   <!--#include file="common.asp" -->
I added this <!--#include file="includes/header.asp" -->
in the header file I included the common.asp file.
I tried login to the forum http://megetron.no-ip.com/gvion/register.asp - http://megetron.no-ip.com/gvion/register.asp
but no security images shown (BTW on the admin registration page the images are fine)
 
now don't tell me it is a server thing because the clean version of the forum works fine. and it is not a coockies problem because cookies works fine too.
 
someone can figure it out?
 
 
 



Replies:
Posted By: JJLatWebWiz
Date Posted: 26 September 2005 at 1:22pm
Originally posted by megetron megetron wrote:

Hi all,
I edited the register.asp. instead of the line:   <!--#include file="common.asp" -->
I added this <!--#include file="includes/header.asp" -->
in the header file I included the common.asp file.
I tried login to the forum http://megetron.no-ip.com/gvion/register.asp - http://megetron.no-ip.com/gvion/register.asp
but no security images shown (BTW on the admin registration page the images are fine)
 
now don't tell me it is a server thing because the clean version of the forum works fine. and it is not a coockies problem because cookies works fine too.
 
someone can figure it out?
 
 
Did you also remove the <!--#include file="includes/header.asp" --> that already exists in register.asp?
 
I assume your changes are going to cause all sorts of little problems.  The common.asp has a lot to do with setting up the database and cookie work that makes it important to be read early on in the execution of the rest of the page.  On the other hand, header.asp actually begins building the HTML content.  Register.asp uses response.buffer because redirection to other pages is used for a number of cases, so if header.asp begins sending HTML before the response.buffer, then redirection can't work.  For the basic registration process, simply removing the <!--#include file="includes/header.asp" --> from the lower part of register.asp might work.  But register.asp does a lot more that absolutely requires the redirections to work, so your change is going to require a lot of re-engineering of more than just register.asp.  Have fun.  Smile


Posted By: megetron
Date Posted: 26 September 2005 at 5:13pm
I already removed the <!--#include file="includes/header.asp" --> that already exist.
meanwhile I didn't found little problems that you mentioned, and hope not to found any.
 
and about redirection, it seems workung fine. still I cant figure it out. the damn security images does not shown.
 
 


Posted By: megetron
Date Posted: 26 September 2005 at 5:19pm
very very strangeConfused
 
my code looks like this:
         <td  dir=ltr align=right width="50%" valign="top" background="<% = strTableBgImage %>"><img src="security_image.asp?I=1&<% = hexValue(3) %>" /><img src="security_image.asp?I=2&<% = hexValue(3) %>" /><img src="security_image.asp?I=3&<% = hexValue(3) %>" /><img src="security_image.asp?I=4&<% = hexValue(3) %>" /><img src="security_image.asp?I=5&<% = hexValue(3) %>" /><img src="security_image.asp?I=6&<% = hexValue(3) %>" /></td>
 
my but the file security_image is on th admin directory....
 
so i change "security_image.asp" to "admin/security_image.asp"
and images are displayed Confused
all that matters is that now it's work, but I am curious to know why is the relesed code is direct to the wrong path?
 
 


Posted By: JJLatWebWiz
Date Posted: 26 September 2005 at 6:29pm
There should be a security_image.asp in the /forum folder and the /forum/admin folder.  If your /forum/security_image.asp is missing, you should be able to copy the /admin/security_image.asp file.  So was the missing images the result of a missing asp page, or the result of your code changes?
 
If the redirection works then all else may continue to work.  I have noticed that your site creates some poorly formed HTML though.  I see multiple <HTML>, <HEAD>, <TITLE>, and <BODY> tags.  Some of that may be the result of the changes you've made, or not.  You should try to clean that up because some browsers aren't as good at reading your mind as others.
 


Posted By: megetron
Date Posted: 28 September 2005 at 9:17am

All images are exist on both forum/admin/security images and forum/security images folders. this is the starnge thing.

about the poor HTML,
on header.asp  I have body head and title, and on the forum code there is the other html tags.
so should i remove those tags from my header or from the forum code?
 


Posted By: JJLatWebWiz
Date Posted: 28 September 2005 at 11:40am
Originally posted by megetron megetron wrote:

 
my but the file security_image is on th admin directory....
 
so i change "security_image.asp" to "admin/security_image.asp"
and images are displayed Confused
all that matters is that now it's work, but I am curious to know why is the relesed code is direct to the wrong path?
 
Did you mean that the security images were in the wrong directory or the security_image.asp was in the wrong directory?


Posted By: JJLatWebWiz
Date Posted: 28 September 2005 at 11:46am
Originally posted by megetron megetron wrote:

about the poor HTML,
on header.asp  I have body head and title, and on the forum code there is the other html tags.
so should i remove those tags from my header or from the forum code?
 
You'll have to determine that on your own.  There should be only one opening and closing HTML, HEAD, TITLE, and BODY.  There are rules that define how those tags are used and where script and rendered content belongs, but obviously most browsers make valiant attempts to render the page even if the rules are not followed.  But without following the basic rules, your page could appear differently on different browsers.



Print Page | Close Window

Forum Software by Web Wiz Forums® version 12.08 - https://www.webwizforums.com
Copyright ©2001-2026 Web Wiz Ltd. - https://www.webwiz.net