Snitz Forums 2000
Snitz Forums 2000
Home | Profile | Register | Active Topics | Members | Search | FAQ
Username:
Password:
Save Password
Forgot your Password?

 All Forums
 Help Groups for Snitz Forums 2000 Users
 Help: General / Classic ASP versions(v3.4.XX)
 Losing part of my querystring upon login
 New Topic  Topic Locked
 Printer Friendly
Author Previous Topic Topic Next Topic  

aow
Starting Member

USA
25 Posts

Posted - 20 February 2004 :  17:28:33  Show Profile  Visit aow's Homepage
When a new report is posted on my (modified) forum, I send out an email with the link:

http://www.thecoughlangroup.com/forum/readreport.asp?report_ID=5&cat_ID=3

If the user is not logged on, he is taken to the login.asp page with the url:

http://www.thecoughlangroup.com/forum/login.asp?target=readreport.asp?report_ID=5&cat_ID=3

Once the user logs in, the &cat_ID=3 is lost from the end of the querystring and the page he is sent to (readreport.asp) ends up with an error.

How can I get around this problem? If the user is already logged in, the target page comes up fine - no part of the querystring is lost. So, the problem seems to be occuring on the login.asp page.

How

Nikkol
Forum Moderator

USA
6907 Posts

Posted - 20 February 2004 :  17:36:34  Show Profile
it's because technically once the querystring encounters an & it's a new querystring variable, therefore, not part of target anymore. how are you redirecting to login.asp? is it in your readreport.asp code or are you using inc_header in that file?

Nikkol ~ Help Us Help You | ReadMe | 3.4.03 fixes | security fixes ~
Go to Top of Page

aow
Starting Member

USA
25 Posts

Posted - 02 March 2004 :  12:08:29  Show Profile  Visit aow's Homepage
I am using inc_header in the "readreport.asp" file. (This is not the real name of the page.)
Go to Top of Page

aow
Starting Member

USA
25 Posts

Posted - 03 March 2004 :  18:13:32  Show Profile  Visit aow's Homepage
Can I save the querystring variables and pass them? I am not sure where I would do this. Any suggestions?
Go to Top of Page
  Previous Topic Topic Next Topic  
 New Topic  Topic Locked
 Printer Friendly
Jump To:
Snitz Forums 2000 © 2000-2021 Snitz™ Communications Go To Top Of Page
This page was generated in 0.39 seconds. Powered By: Snitz Forums 2000 Version 3.4.07