Closed Thread Icon

Topic awaiting preservation: DW Ultradev problem Pages that link to <a href="https://ozoneasylum.com/backlink?for=12224" title="Pages that link to Topic awaiting preservation: DW Ultradev problem" rel="nofollow" >Topic awaiting preservation: DW Ultradev problem\

 
Author Thread
tomeaglescz
Paranoid (IV) Inmate

From: Czech Republic via Bristol UK
Insane since: Feb 2002

posted posted 05-20-2002 09:15

<%@LANGUAGE="VBSCRIPT"%>
<%
' *** Logout the current user.
MM_Logout = CStr(Request.ServerVariables("URL")) & "?MM_Logoutnow=1"
If (CStr(Request("MM_Logoutnow")) = "1") Then
Session.Abandon
MM_logoutRedirectPage = "../../default.htm"
' redirect with URL parameters (remove the "MM_Logoutnow" query param).
if (MM_logoutRedirectPage = "") Then MM_logoutRedirectPage = CStr(Request.ServerVariables("URL"))
If (InStr(1, UC_redirectPage, "?", vbTextCompare) = 0 And Request.QueryString <> "") Then
MM_newQS = "?"
For Each Item In Request.QueryString
If (Item <> "MM_Logoutnow") Then
If (Len(MM_newQS) > 1) Then MM_newQS = MM_newQS & "&"
MM_newQS = MM_newQS & Item & "=" & Server.URLencode(Request.QueryString(Item))
End If
Next
if (Len(MM_newQS) > 1) Then MM_logoutRedirectPage = MM_logoutRedirectPage & MM_newQS
End If
Response.Redirect(MM_logoutRedirectPage)
End If
%>
<html>
<head>
<title>Welcome to the WebFx Design site</title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
</head>
<body bgcolor="#000000" text="#000000">
<table width="100%" border="0" cellspacing="0" cellpadding="0" height="100%">
<tr>
<td>
<table width="100%" border="0" cellspacing="0" cellpadding="0" height="325">
<tr>
<td height="316">
<div align="center">
<table width="40%" border="0" cellspacing="0" cellpadding="0" align="center">
<tr>
<td width="71%">5<img src="../../TESTIFACE.jpg" width="600" height="400"></td>
</tr>
</table>
</div>
</td>
</tr>
</table>
<A HREF="<%=MM_Logoutnow%>">Log
Out</A>
</body>
</html>

Ini or anyone can you have a look at this problem for me banging my head against a brick wall, when the logout is clicked it posts the variable into the url string and comes up page not found....




InI
Paranoid (IV) Mad Scientist

From: Somewhere over the rainbow
Insane since: Mar 2001

posted posted 05-20-2002 19:57

The poster has demanded we remove all his contributions, less he takes legal action.
We have done so.
Now Tyberius Prime expects him to start complaining that we removed his 'free speech' since this message will replace all of his posts, past and future.
Don't follow his example - seek real life help first.

tomeaglescz
Paranoid (IV) Inmate

From: Czech Republic via Bristol UK
Insane since: Feb 2002

posted posted 05-21-2002 09:32

OK ini, here's my setup..

PWS on dev w/s

IIS 5 on server


the logon page on PWS works great on all browsers, and you can open more than one instance of that page say for example a guest a/c with one username and password..

asp looks at db no probs validates passes you to a redirect page based on your username ie a row in a table defined in the database...

pws no probs..also i wanted that if someone forgets to logout or has more than one page open the session was still ok..

however port it over to IIS and boom iternal server error 500 with exactly same permissions script d/b (checked this a million times)


so hence me killing session just cant figure out why the hell the variable MM_logoutRedirectPage (hard coded...not passed from anywhere) is not being passed properly....

i have used this type of stuff loads of times before no problems...but since i tried to redirect based on a user name problem city....

thanks again Ini hope this sheds some more light.

tom


InI
Paranoid (IV) Mad Scientist

From: Somewhere over the rainbow
Insane since: Mar 2001

posted posted 05-21-2002 09:50

The poster has demanded we remove all his contributions, less he takes legal action.
We have done so.
Now Tyberius Prime expects him to start complaining that we removed his 'free speech' since this message will replace all of his posts, past and future.
Don't follow his example - seek real life help first.

InI
Paranoid (IV) Mad Scientist

From: Somewhere over the rainbow
Insane since: Mar 2001

posted posted 05-21-2002 10:15

The poster has demanded we remove all his contributions, less he takes legal action.
We have done so.
Now Tyberius Prime expects him to start complaining that we removed his 'free speech' since this message will replace all of his posts, past and future.
Don't follow his example - seek real life help first.

tomeaglescz
Paranoid (IV) Inmate

From: Czech Republic via Bristol UK
Insane since: Feb 2002

posted posted 05-21-2002 11:23

cheer!

okies thx for spotting the prob resent the mail to ya outlining why it had to be done that way (clients)

finally got em to stop wriggling but filesize to big when zipped....guess i just dumb the whole thing on the server and ya can download the full thing instead of the zip

(i onder how many peopel are wondering whats in this zip file )

InI
Paranoid (IV) Mad Scientist

From: Somewhere over the rainbow
Insane since: Mar 2001

posted posted 05-21-2002 17:30

The poster has demanded we remove all his contributions, less he takes legal action.
We have done so.
Now Tyberius Prime expects him to start complaining that we removed his 'free speech' since this message will replace all of his posts, past and future.
Don't follow his example - seek real life help first.

tomeaglescz
Paranoid (IV) Inmate

From: Czech Republic via Bristol UK
Insane since: Feb 2002

posted posted 05-22-2002 13:01

DOH!!!!!!!!!!!!!!!!!!!!!!!!

hey ini it wasnt that hard to fix.....

i take it you missed the same as me.....

VBS wont work on a html file....

doh i had saved with the wrong extension......



InI
Paranoid (IV) Mad Scientist

From: Somewhere over the rainbow
Insane since: Mar 2001

posted posted 05-22-2002 14:14

The poster has demanded we remove all his contributions, less he takes legal action.
We have done so.
Now Tyberius Prime expects him to start complaining that we removed his 'free speech' since this message will replace all of his posts, past and future.
Don't follow his example - seek real life help first.

InI
Paranoid (IV) Mad Scientist

From: Somewhere over the rainbow
Insane since: Mar 2001

posted posted 05-22-2002 14:19

The poster has demanded we remove all his contributions, less he takes legal action.
We have done so.
Now Tyberius Prime expects him to start complaining that we removed his 'free speech' since this message will replace all of his posts, past and future.
Don't follow his example - seek real life help first.

tomeaglescz
Paranoid (IV) Inmate

From: Czech Republic via Bristol UK
Insane since: Feb 2002

posted posted 05-22-2002 17:55

quote hmmmm...personal errors????


ok well i will thankyou again..and add one final last question

when you checked out the web page and actually looked at the url it led to....

i looked up after a say or so unable to figure out why as you pointed out the variables werent being parsed and there in the URL NAV BAR was the answer blahbla.htm not blahblah.asp

i merely pointed out as a lesson for others look for the obvious things before looking at the code i missed it you missed...lots of people missed it at macromedia, i did save as an asp but there is a glitch in DW sometimes as there are two methods of saving a file... nothing to be ashamed of... a simple error...and to quote myself here and in another thread i thanked you and also by email...


i did not involve you in my personal error merely pointed out we both missed what was happening in the url bar thats all...hell we all make misakes its how ya learn


tomeaglescz
Paranoid (IV) Inmate

From: Czech Republic via Bristol UK
Insane since: Feb 2002

posted posted 05-24-2002 12:14



INI COMMENTS ABOUT THIS GO HERE OR MAIL>>>NOT YOU TRYING TO ACT BIG IN FRONT OF EVERY ONE

Big Mouth where???

all is see is you shooting ya mouth off where ever you want, threatening to leave when ever you feel that no one is talking about you singing your praises, i turned to you for help because you are the best here at what you do...

i made a simple mistake which i had the guts to admit,,

at least i stand by my mistakes,,, and what i say,, the only person i see that doesnt is you how many times have you so called left how many different threads have you posted into saying you will leave..not once have you stood by what you said...What's wrong ya need an audience???

anyway enough of this crap close this thread someone...

thanks



[This message has been edited by tomeaglescz (edited 05-24-2002).]

« BackwardsOnwards »

Show Forum Drop Down Menu