Web Wiz - Green Windows Web Hosting

  New Posts New Posts RSS Feed - Email notification link bug?
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

Email notification link bug?

 Post Reply Post Reply
Author
gariputro View Drop Down
Newbie
Newbie
Avatar

Joined: 17 October 2006
Location: United States
Status: Offline
Points: 13
Post Options Post Options   Thanks (0) Thanks(0)   Quote gariputro Quote  Post ReplyReply Direct Link To This Post Topic: Email notification link bug?
    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:
 
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 %><%
 


Edited by gariputro - 28 November 2006 at 3:46pm
Back to Top
 Post Reply Post Reply

Forum Jump Forum Permissions View Drop Down

Forum Software by Web Wiz Forums® version 12.08
Copyright ©2001-2026 Web Wiz Ltd.


Become a Fan on Facebook Follow us on X Connect with us on LinkedIn Web Wiz Blogs
About Web Wiz | Contact Web Wiz | Terms & Conditions | Cookies | Privacy Notice

Web Wiz is the trading name of Web Wiz Ltd. Company registration No. 05977755. Registered in England and Wales.
Registered office: Web Wiz Ltd, Unit 18, The Glenmore Centre, Fancy Road, Poole, Dorset, BH12 4FB, UK.

Prices exclude VAT at 20% unless otherwise stated. VAT No. GB988999105 - $, € prices shown as a guideline only.

Copyright ©2001-2026 Web Wiz Ltd. All rights reserved.