PDA

View Full Version : Application keeps resetting


jherr1971
04-16-2004, 08:04 AM
I'm hosting my web site (http://www.penpalworld.com) at discountasp.net, which contains a membership system. And since I've switched to discountasp.net I am getting many complain emails daily from users telling me that they cannot login with their correct information. They just get the info that their session has expired.

I've read the ASP.NET post concerning this at http://forum.discountasp.net/topic.asp?TOPIC_ID=590&whichpage=2&SearchTerms=session

but I am not sure if and how I could use a web.config.

Thank you for any help.

Jakob

jherr1971
05-16-2004, 09:52 AM
Update:

I found out what the problem was. When new users are trying to login within their email service provider then it fails.

For example: A user uses his @hotmail.com email address. Now the user goes to hotmail.com and opens my confirmation email. Next the user clicks on the link provided which opens a new window with the hotmail bar on the top.

It the user is trying to login within this hotmail settings it won't work. I had to include a javascript which actually removes those hotmail frame:

<script language="JavaScript"><!--
if (parent.frames.length > 0) {
parent.location.href = location.href;
}//-->
</script>

bruce
05-16-2004, 11:29 AM
Oh.. that's great finding!!!

Hotmail suck the way they open link.

[b]quote:Originally posted by jherr1971

Update:

I found out what the problem was. When new users are trying to login within their email service provider then it fails.

For example: A user uses his @hotmail.com email address. Now the user goes to hotmail.com and opens my confirmation email. Next the user clicks on the link provided which opens a new window with the hotmail bar on the top.

It the user is trying to login within this hotmail settings it won't work. I had to include a javascript which actually removes those hotmail frame:

<script language="JavaScript"><!--
if (parent.frames.length > 0) {
parent.location.href = location.href;
}//-->
</script>
</blockquote id="quote"></font id="quote">