Forums

ASP

This topic is locked

Help with login redirect

Posted 21 Jul 2003 11:55:18
1
has voted
21 Jul 2003 11:55:18 thomas Guest posted:
help !!

CAN SOMEONE HELP ME WITH MY PROBLEM ?

My problem is about redirecting after login. Let me try to explaine...

In Dreamweaver MX you have the possibility of redirect if login success
or
failed....

But if you take dmxzone for example you "want" be redirected to another
page
after login... you will still be on the same page.

Here is what i did...

I tryed to go directly in to the dreamweaver code and replace
"MM_redirectLoginSuccess= "../log/ok.asp" with this sentence
"MM_redirectLoginSuccess= Request.ServerVariables("URL"" and that
worked
well... but then i got one big problem. If the page got the adress
127.0.0.1/pro/detail.asp?id=2 It want work because
Request.ServerVariables("URL" only defines the page detail.asp.



So how can i get around this issue.... Any suggestion ?

Kind Regards
Tom

Replies

Replied 22 Jul 2003 13:47:24
22 Jul 2003 13:47:24 Vince Baker replied:
change it to:


"MM_redirectLoginSuccess= Request.ServerVariables("URL"" & "?" & Request.Querystring

This will however only take a single url variable.


Regards
Vince

Visit my home: www.chez-vince.com

VBScript | ASP | HTML | SQL | Oracle | Hosting

Reply to this topic