![]() | |
![]() |
| | Thread Tools | Display Modes |
#11
| |||
| |||
|
|
and in the ReDirectURL in the process.asp: Response.Redirect + Request.QueryString("SCRIPT_NAME") But I keep getting the missing URL error for the process.asp page. |
#12
| |||
| |||
|
|
On 26 Oct 2005 in macromedia.dreamweaver, Dan Galfano wrote: and in the ReDirectURL in the process.asp: Response.Redirect + Request.QueryString("SCRIPT_NAME") But I keep getting the missing URL error for the process.asp page. From the tutorial you mentioned: % Response.Redirect + Request.QueryString("ReDirectURL") % Request.QueryString() looks at the query string - the part of the URI after the questionmark, as in http://example.com/myfile.asp?this=querystring You're telling the script to look for a querystring called "SCRIPT_NAME"; there is none, so the script chokes. -- Joe Makowiec http://makowiec.net/ Email: http://makowiec.net/email.php |
#13
| |||
| |||
|
|
So, if SCRIPT_NAME isn't what is supposed to go in there...what is? From the tutorial you mentioned: % Response.Redirect + Request.QueryString("ReDirectURL") % |
#14
| |||
| |||
|
|
On 26 Oct 2005 in macromedia.dreamweaver, Dan Galfano wrote: So, if SCRIPT_NAME isn't what is supposed to go in there...what is? From the tutorial you mentioned: % Response.Redirect + Request.QueryString("ReDirectURL") % -- Joe Makowiec http://makowiec.net/ Email: http://makowiec.net/email.php |
#15
| |||
| |||
|
|
ahhhhhhhhhhhhhh...I see. It's just telling the link on the page, after executing which style sheet to use, to continue with the redirect, which I put in the actual link. Now my problem is it isn't actually calling the other style sheet. % If Request.Cookies("StyleName") <> "" Then % link href="/testing/2006/styles/<%=Request.Cookies("StyleName")%>" rel="stylesheet" type="text/css" / % Else % link href="/testing/2006/styles/content.css" rel="stylesheet" type="text/css" / % End If % hmmm... |
![]() |
| Thread Tools | |
| Display Modes | |
| |