Print Page | Close Window

Email notification link bug?

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=22050
Printed Date: 08 April 2026 at 3:04pm
Software Version: Web Wiz Forums 12.08 - https://www.webwizforums.com


Topic: Email notification link bug?
Posted By: gariputro
Subject: Email notification link bug?
Date Posted: 28 November 2006 at 3:45pm
I've made a few changes to the code in the past for allowing the auto-login of members from an existing SQL database, so I'm not sure if this issue was created due to it.  Sometimes this is a problem, and sometimes it isn't.  I'm not quite sure why the SID is or is not always attached as a query to the end of a URL...
 
When clicking on the Email Notification Subscriptions link, I get a 404 error from the server because of the way the link was created:
http://www.mydomian.com/forum/email_notify_subscriptions.asp&SID=e9zb2247da731f4f86346dcd82zbfad4 - http://www.mydomian.com/forum/email_notify_subscriptions.asp&SID=e9zb2247da731f4f86346dcd82zbfad4
 
As you can see, the ampersand ("&") should be a question mark to pass the SID as a query.  This forced me to change the code in member_control_panel.asp on line 198 from:

<a href="email_notify_subscriptions.asp<% If strMode = "A" AND (blnAdmin OR blnModerator) Then Response.Write("?PF=" & lngUserProfileID & "&M=A") %><% = strQsSID2 %>"><% = strTxtEmailNotificationSubscriptions %></a><br /><% = strTxtAlterEmailSubscriptions %><%
 
to:

<a href="email_notify_subscriptions.asp<% If strMode = "A" AND (blnAdmin OR blnModerator) Then Response.Write("?PF=" & lngUserProfileID & "&M=A" & strQsSID2) Else Response.Write(strQsSID1)%>"><% = strTxtEmailNotificationSubscriptions %></a><br /><% = strTxtAlterEmailSubscriptions %><%
 



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