Forums

ASP

This topic is locked

Redirect after login

Posted 03 Feb 2004 21:52:04
1
has voted
03 Feb 2004 21:52:04 sup ert posted:
Hi.
I've made a site with an open section and a closed section.

What I want: People chose a link in the open section to a page in the closed section. They get denied and gets redirected to a login-page. So far so good.

I'd like only to have one login-page, and not redirect them all to a new choise-page. What I want to know is how do I redirect them to the page they originally chose?

Supert.

Edited by - supert on 03 Feb 2004 21:57:58

Replies

Replied 05 Feb 2004 00:34:49
05 Feb 2004 00:34:49 Dave Thomas replied:
u using dwmx?

if so, tick the "go back to previous url if it exists" box, on the login rediredt dialogue properties when it shows.

Regards,
Dave

[DWMX 2004]|[FlashMX 2004 Pro]|[Studio MX 2004]|[SQL]|[Access2000/2002]|[ASP/VBScript]|[XP-Pro]
If you like online gaming, please register @ www.nova-multigaming.com
Replied 11 Feb 2004 22:56:49
11 Feb 2004 22:56:49 sup ert replied:
Hi again.
I tried it and I tried it and I tried it, but it wouldn't work.... Until I turned off my firewall and it worked fine.
Thanks.

Replied 11 Feb 2004 23:35:18
11 Feb 2004 23:35:18 Fred Muchmore replied:
If all you whant todo is go back to the prior page, then all you need todo is use this simple "Java" script:
onClick="javascript:history.go(-1). Hope this help's.

Reply to this topic