'ASP 0158' Missing URL

A

AL G

I am using a subweb for logon and password. I have coded the include virtual
in the page to have the logon page come up. After logging in the end-user is
suppose to be sent to a page in the main web but instead gets the follwing
message:
Response object error 'ASP 0158 : 80004005'
Missing URL
/logon/logon.asp, line 11
A URL is required.
I have carefully read over my code to insure that there are no typos.
Line 11 in the asp file is of course Response.Redirect Session("REFERRER").
Can anyone Please help me on this?
 
T

Thomas A. Rowe

Each FP subweb is a individual web / site, you can use a ASP redirect to a page in the root web,
however you will loose any ASP sessions. Also all page must have .asp file extensions.

--
==============================================
Thomas A. Rowe
Microsoft MVP - FrontPage

http://www.Ecom-Data.com
==============================================
 
J

Jon Spivey

Session("refererer") has lost it's value due to be being in the subweb.
Easiest would be to stick the referer into a cookie, eg where you have
Session("REFERRER") = whatever replace with response.cookes("REFERER") =
whatever to set the value and then use
Response.Redirect request.cookes("REFERER")

Cheers,
Jon
 
A

AL G

Jon, I tried what you suggested but, it now keeps returning to the logon
page. ie - key in user name and password and click submit. The page flashes,
the user name and password text area clears and the logon page stay on the
screen. It's as if it is in an eternal loop. Have any suggestions?
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top