Forums

This topic is locked

On session.timeout go to URL. HELP!!!

Posted 24 Nov 2003 16:13:19
1
has voted
24 Nov 2003 16:13:19 James Wilkinson posted:
I am using DWMX with VBScript.

I can set the session.timeout to what I need, but I want the user to be re-directed to a another login page (login.asp) when it times out, at the moment I just get an error page.

I have achieved this by using
META HTTP-EQUIV="refresh" CONTENT="1200; URL=login.asp"
but this need to be put on every page, which just isn't feasible.

Can anyone help please???

Replies

Replied 04 Dec 2003 19:26:03
04 Dec 2003 19:26:03 Carl Grint replied:
If you use the inbuilt restrict access behaviour, you simply tell it which page to go to when the session times out.

Web Development Consultant
CG Webdevelopment provide web development services including Web site design and development, the complete development of Intranets/Extranets and a wide range of Web applications.
Details of our services can be viewed at www.cgwebdevelopment.co.uk
Replied 05 Dec 2003 11:54:23
05 Dec 2003 11:54:23 James Wilkinson replied:
Thanks for your help, but i am using frames and when the session has expired and a user then clicks on a link the frameset that it directs to opens within another frame set.

Is there a way i can add anything to MM_redirectLoginFailed="default.htm" to make it open in the parent? such as MM_redirectLoginFailed="default.htm target="_parent"

Thanks for your help so far.

Reply to this topic