Hi All,

I have an ASP.NET appication running on http://xx.xxx.xxxx.xx/aspApplication
and I have a domain http://www.mydomain.com registered at godaddy.com for
this application.I have setup domain forwarding at goDaddy.com to forward to
http://xx.xxx.xxxx.xx/aspApplication. I am using Forms Authentication on the
application.Now the problem i am facing is , when i login to the application
through http://xx.xxx.xxxx.xx/aspApplication everything works fine and get
authenticated and logged in. But when I login in through
http://www.mydomain.com , the cookie gets blocked and I am prevented from
logging in(i am not getting authenticated).

The path in the web.config file is pointed to path="/".

Any help appreciated.

--binod

Re: URL Forwarding Problem by Jan

Jan
Thu Jan 22 10:03:05 CST 2004

I've experencied this kind of behavior too, the problem was the forwarding
used a html iframe to display the underlying page. I've solved this by
disabling the "stealth" forwarding and using a normal redirect.

You can check what kind of forwarding you are using by surfing to the site
by using mydomain.com and the choosing View Source in IE. Can you post the
HTML?

--
Greetz,
Jan
__________________________________
Read my weblog: http://weblogs.asp.net/jan
"Binod Nair" <nairbinod@hotmail.com> schreef in bericht
news:%23dlj23P4DHA.1556@TK2MSFTNGP11.phx.gbl...
> Hi All,
>
> I have an ASP.NET appication running on
http://xx.xxx.xxxx.xx/aspApplication
> and I have a domain http://www.mydomain.com registered at godaddy.com for
> this application.I have setup domain forwarding at goDaddy.com to forward
to
> http://xx.xxx.xxxx.xx/aspApplication. I am using Forms Authentication on
the
> application.Now the problem i am facing is , when i login to the
application
> through http://xx.xxx.xxxx.xx/aspApplication everything works fine and get
> authenticated and logged in. But when I login in through
> http://www.mydomain.com , the cookie gets blocked and I am prevented from
> logging in(i am not getting authenticated).
>
> The path in the web.config file is pointed to path="/".
>
> Any help appreciated.
>
> --binod
>
>



Re: URL Forwarding Problem by Binod

Binod
Thu Jan 22 13:34:11 CST 2004

This is what I have in the mydomain.com.The site is www.cordovaridgena.com
<html>
<head>
<title>Cordova Ridge Neighbourhood Association</title>


</head>
<frameset rows="100%,*" border="0">
<frame src="http://66.162.25.252/cordovaridge/default.aspx" frameborder="0">
<frame frameborder="0" noresize>
</frameset>
</html>

"Jan Tielens" <jan@no.spam.please.leadit.be> wrote in message
news:ubH62EQ4DHA.2380@TK2MSFTNGP11.phx.gbl...
> I've experencied this kind of behavior too, the problem was the forwarding
> used a html iframe to display the underlying page. I've solved this by
> disabling the "stealth" forwarding and using a normal redirect.
>
> You can check what kind of forwarding you are using by surfing to the site
> by using mydomain.com and the choosing View Source in IE. Can you post the
> HTML?
>
> --
> Greetz,
> Jan
> __________________________________
> Read my weblog: http://weblogs.asp.net/jan
> "Binod Nair" <nairbinod@hotmail.com> schreef in bericht
> news:%23dlj23P4DHA.1556@TK2MSFTNGP11.phx.gbl...
> > Hi All,
> >
> > I have an ASP.NET appication running on
> http://xx.xxx.xxxx.xx/aspApplication
> > and I have a domain http://www.mydomain.com registered at godaddy.com
for
> > this application.I have setup domain forwarding at goDaddy.com to
forward
> to
> > http://xx.xxx.xxxx.xx/aspApplication. I am using Forms Authentication on
> the
> > application.Now the problem i am facing is , when i login to the
> application
> > through http://xx.xxx.xxxx.xx/aspApplication everything works fine and
get
> > authenticated and logged in. But when I login in through
> > http://www.mydomain.com , the cookie gets blocked and I am prevented
from
> > logging in(i am not getting authenticated).
> >
> > The path in the web.config file is pointed to path="/".
> >
> > Any help appreciated.
> >
> > --binod
> >
> >
>
>



Re: URL Forwarding Problem by Jan

Jan
Thu Jan 22 14:16:05 CST 2004

As you can see your page is displayed in a frame. Does your domain agent
offer you any other possibilities for hosting?

Otherwise you could create a default.htm page like this:
<script language="javascript" type="text/javascript">
if (top.location != self.location) {
top.location = self.location; // pop to top
}
</script>
<html>
<head>
<META HTTP-EQUIV="Refresh" CONTENT="0;
URL=http://66.162.25.252/cordovaridge/default2.aspx">
</head>
<body>
</body>
</html>

The default2.aspx page would be the start page for your project (now
default.aspx). What will happen is that you'll break out of your frame and
redirect to the default2.aspx page.

Let me know if you have any problems, because I couldn't try it out...

--
Greetz,
Jan
__________________________________
Read my weblog: http://weblogs.asp.net/jan
"Binod Nair" <nairbinod@hotmail.com> schreef in bericht
news:O%23QeB5R4DHA.2648@tk2msftngp13.phx.gbl...
> This is what I have in the mydomain.com.The site is www.cordovaridgena.com
> <html>
> <head>
> <title>Cordova Ridge Neighbourhood Association</title>
>
>
> </head>
> <frameset rows="100%,*" border="0">
> <frame src="http://66.162.25.252/cordovaridge/default.aspx"
frameborder="0">
> <frame frameborder="0" noresize>
> </frameset>
> </html>
>
> "Jan Tielens" <jan@no.spam.please.leadit.be> wrote in message
> news:ubH62EQ4DHA.2380@TK2MSFTNGP11.phx.gbl...
> > I've experencied this kind of behavior too, the problem was the
forwarding
> > used a html iframe to display the underlying page. I've solved this by
> > disabling the "stealth" forwarding and using a normal redirect.
> >
> > You can check what kind of forwarding you are using by surfing to the
site
> > by using mydomain.com and the choosing View Source in IE. Can you post
the
> > HTML?
> >
> > --
> > Greetz,
> > Jan
> > __________________________________
> > Read my weblog: http://weblogs.asp.net/jan
> > "Binod Nair" <nairbinod@hotmail.com> schreef in bericht
> > news:%23dlj23P4DHA.1556@TK2MSFTNGP11.phx.gbl...
> > > Hi All,
> > >
> > > I have an ASP.NET appication running on
> > http://xx.xxx.xxxx.xx/aspApplication
> > > and I have a domain http://www.mydomain.com registered at godaddy.com
> for
> > > this application.I have setup domain forwarding at goDaddy.com to
> forward
> > to
> > > http://xx.xxx.xxxx.xx/aspApplication. I am using Forms Authentication
on
> > the
> > > application.Now the problem i am facing is , when i login to the
> > application
> > > through http://xx.xxx.xxxx.xx/aspApplication everything works fine and
> get
> > > authenticated and logged in. But when I login in through
> > > http://www.mydomain.com , the cookie gets blocked and I am prevented
> from
> > > logging in(i am not getting authenticated).
> > >
> > > The path in the web.config file is pointed to path="/".
> > >
> > > Any help appreciated.
> > >
> > > --binod
> > >
> > >
> >
> >
>
>



Re: URL Forwarding Problem by Binod

Binod
Thu Jan 22 14:54:52 CST 2004

But the problem is , now the users will see the IP address in the URL ..I
dont want that to happen.


"Jan Tielens" <jan@no.spam.please.leadit.be> wrote in message
news:O2PNRSS4DHA.1632@TK2MSFTNGP12.phx.gbl...
> As you can see your page is displayed in a frame. Does your domain agent
> offer you any other possibilities for hosting?
>
> Otherwise you could create a default.htm page like this:
> <script language="javascript" type="text/javascript">
> if (top.location != self.location) {
> top.location = self.location; // pop to top
> }
> </script>
> <html>
> <head>
> <META HTTP-EQUIV="Refresh" CONTENT="0;
> URL=http://66.162.25.252/cordovaridge/default2.aspx">
> </head>
> <body>
> </body>
> </html>
>
> The default2.aspx page would be the start page for your project (now
> default.aspx). What will happen is that you'll break out of your frame and
> redirect to the default2.aspx page.
>
> Let me know if you have any problems, because I couldn't try it out...
>
> --
> Greetz,
> Jan
> __________________________________
> Read my weblog: http://weblogs.asp.net/jan
> "Binod Nair" <nairbinod@hotmail.com> schreef in bericht
> news:O%23QeB5R4DHA.2648@tk2msftngp13.phx.gbl...
> > This is what I have in the mydomain.com.The site is
www.cordovaridgena.com
> > <html>
> > <head>
> > <title>Cordova Ridge Neighbourhood Association</title>
> >
> >
> > </head>
> > <frameset rows="100%,*" border="0">
> > <frame src="http://66.162.25.252/cordovaridge/default.aspx"
> frameborder="0">
> > <frame frameborder="0" noresize>
> > </frameset>
> > </html>
> >
> > "Jan Tielens" <jan@no.spam.please.leadit.be> wrote in message
> > news:ubH62EQ4DHA.2380@TK2MSFTNGP11.phx.gbl...
> > > I've experencied this kind of behavior too, the problem was the
> forwarding
> > > used a html iframe to display the underlying page. I've solved this by
> > > disabling the "stealth" forwarding and using a normal redirect.
> > >
> > > You can check what kind of forwarding you are using by surfing to the
> site
> > > by using mydomain.com and the choosing View Source in IE. Can you post
> the
> > > HTML?
> > >
> > > --
> > > Greetz,
> > > Jan
> > > __________________________________
> > > Read my weblog: http://weblogs.asp.net/jan
> > > "Binod Nair" <nairbinod@hotmail.com> schreef in bericht
> > > news:%23dlj23P4DHA.1556@TK2MSFTNGP11.phx.gbl...
> > > > Hi All,
> > > >
> > > > I have an ASP.NET appication running on
> > > http://xx.xxx.xxxx.xx/aspApplication
> > > > and I have a domain http://www.mydomain.com registered at
godaddy.com
> > for
> > > > this application.I have setup domain forwarding at goDaddy.com to
> > forward
> > > to
> > > > http://xx.xxx.xxxx.xx/aspApplication. I am using Forms
Authentication
> on
> > > the
> > > > application.Now the problem i am facing is , when i login to the
> > > application
> > > > through http://xx.xxx.xxxx.xx/aspApplication everything works fine
and
> > get
> > > > authenticated and logged in. But when I login in through
> > > > http://www.mydomain.com , the cookie gets blocked and I am prevented
> > from
> > > > logging in(i am not getting authenticated).
> > > >
> > > > The path in the web.config file is pointed to path="/".
> > > >
> > > > Any help appreciated.
> > > >
> > > > --binod
> > > >
> > > >
> > >
> > >
> >
> >
>
>



Re: URL Forwarding Problem by Jan

Jan
Thu Jan 22 15:05:44 CST 2004

Mmmm, I don't have a solution for that... sorry.

--
Greetz,
Jan
__________________________________
Read my weblog: http://weblogs.asp.net/jan
"Binod Nair" <nairbinod@hotmail.com> schreef in bericht
news:eDQ6EmS4DHA.1052@TK2MSFTNGP12.phx.gbl...
> But the problem is , now the users will see the IP address in the URL ..I
> dont want that to happen.
>
>
> "Jan Tielens" <jan@no.spam.please.leadit.be> wrote in message
> news:O2PNRSS4DHA.1632@TK2MSFTNGP12.phx.gbl...
> > As you can see your page is displayed in a frame. Does your domain agent
> > offer you any other possibilities for hosting?
> >
> > Otherwise you could create a default.htm page like this:
> > <script language="javascript" type="text/javascript">
> > if (top.location != self.location) {
> > top.location = self.location; // pop to top
> > }
> > </script>
> > <html>
> > <head>
> > <META HTTP-EQUIV="Refresh" CONTENT="0;
> > URL=http://66.162.25.252/cordovaridge/default2.aspx">
> > </head>
> > <body>
> > </body>
> > </html>
> >
> > The default2.aspx page would be the start page for your project (now
> > default.aspx). What will happen is that you'll break out of your frame
and
> > redirect to the default2.aspx page.
> >
> > Let me know if you have any problems, because I couldn't try it out...
> >
> > --
> > Greetz,
> > Jan
> > __________________________________
> > Read my weblog: http://weblogs.asp.net/jan
> > "Binod Nair" <nairbinod@hotmail.com> schreef in bericht
> > news:O%23QeB5R4DHA.2648@tk2msftngp13.phx.gbl...
> > > This is what I have in the mydomain.com.The site is
> www.cordovaridgena.com
> > > <html>
> > > <head>
> > > <title>Cordova Ridge Neighbourhood Association</title>
> > >
> > >
> > > </head>
> > > <frameset rows="100%,*" border="0">
> > > <frame src="http://66.162.25.252/cordovaridge/default.aspx"
> > frameborder="0">
> > > <frame frameborder="0" noresize>
> > > </frameset>
> > > </html>
> > >
> > > "Jan Tielens" <jan@no.spam.please.leadit.be> wrote in message
> > > news:ubH62EQ4DHA.2380@TK2MSFTNGP11.phx.gbl...
> > > > I've experencied this kind of behavior too, the problem was the
> > forwarding
> > > > used a html iframe to display the underlying page. I've solved this
by
> > > > disabling the "stealth" forwarding and using a normal redirect.
> > > >
> > > > You can check what kind of forwarding you are using by surfing to
the
> > site
> > > > by using mydomain.com and the choosing View Source in IE. Can you
post
> > the
> > > > HTML?
> > > >
> > > > --
> > > > Greetz,
> > > > Jan
> > > > __________________________________
> > > > Read my weblog: http://weblogs.asp.net/jan
> > > > "Binod Nair" <nairbinod@hotmail.com> schreef in bericht
> > > > news:%23dlj23P4DHA.1556@TK2MSFTNGP11.phx.gbl...
> > > > > Hi All,
> > > > >
> > > > > I have an ASP.NET appication running on
> > > > http://xx.xxx.xxxx.xx/aspApplication
> > > > > and I have a domain http://www.mydomain.com registered at
> godaddy.com
> > > for
> > > > > this application.I have setup domain forwarding at goDaddy.com to
> > > forward
> > > > to
> > > > > http://xx.xxx.xxxx.xx/aspApplication. I am using Forms
> Authentication
> > on
> > > > the
> > > > > application.Now the problem i am facing is , when i login to the
> > > > application
> > > > > through http://xx.xxx.xxxx.xx/aspApplication everything works fine
> and
> > > get
> > > > > authenticated and logged in. But when I login in through
> > > > > http://www.mydomain.com , the cookie gets blocked and I am
prevented
> > > from
> > > > > logging in(i am not getting authenticated).
> > > > >
> > > > > The path in the web.config file is pointed to path="/".
> > > > >
> > > > > Any help appreciated.
> > > > >
> > > > > --binod
> > > > >
> > > > >
> > > >
> > > >
> > >
> > >
> >
> >
>
>