This is Interesting: Free Magazines for Graphics designers and webmasters  


Home > Archive > FrontPage Programming > May 2007 > 'ASP 0158' Missing URL





You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

Author 'ASP 0158' Missing URL
AL G

2007-04-30, 6:17 pm

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?
Thomas A. Rowe

2007-04-30, 6:17 pm

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
==============================================


"AL G" <ALG@discussions.microsoft.com> wrote in message
news:9E5B677F-2301-4C9F-8DE9-BB739E75B08C@microsoft.com...
>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?



Jon Spivey

2007-04-30, 6:17 pm

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

"AL G" <ALG@discussions.microsoft.com> wrote in message
news:9E5B677F-2301-4C9F-8DE9-BB739E75B08C@microsoft.com...
>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?



AL G

2007-05-08, 6:15 pm

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?

"Jon Spivey" wrote:

> 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
>
> "AL G" <ALG@discussions.microsoft.com> wrote in message
> news:9E5B677F-2301-4C9F-8DE9-BB739E75B08C@microsoft.com...
>
>
>

Sponsored Links


Copyright 2003 - 2008 forum4designers.com  Software forum  Computer Hardware reviews