Wrox Programmer Forums
|
BOOK: ASP.NET 2.0 Website Programming Problem Design Solution ISBN: 978-0-7645-8464-0
This is the forum to discuss the Wrox book ASP.NET 2.0 Website Programming: Problem - Design - Solution by Marco Bellinaso; ISBN: 9780764584640
Welcome to the p2p.wrox.com Forums.

You are currently viewing the BOOK: ASP.NET 2.0 Website Programming Problem Design Solution ISBN: 978-0-7645-8464-0 section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old June 19th, 2007, 06:45 PM
Registered User
 
Join Date: Jun 2007
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
Default Have 2 problems so far...

Hi, i have 2 very irritating problems :)

1) It seems that saving user preferences works but not entirely. So far i have only 2 pages implemented - Home and Contact. If i change Theme from TemplateMonster to HTMLYellow when i'm viewing Contact pages it changes no problem, but when i click on Home, it changes to TemplateMonster. I have to Refresh Home page and only after that i can see PlainYellow theme. Then, if i click on Contact page, my theme will be reverted to TemplateMonster again. I have to hit Refresh here too to fix it.

In other words, i have to hit Refresh on every page in order to enjoy another theme.

Same thing is happening with logging in - if i log in in Home, and then click on Contact the LoginControl shows that i'm logged out. If i Refresh Contact page it shows the correct thing - that i'm logged in.

I really dont know what is going on...

This happens using Opera and IE, Firefox is fine. In Opera i completely disabled caching of webpages, didnt help.

2) My second problem is that altho i have this in my web.config file:
---------------------
<membership>
     <providers>
        <add <...>
         minRequiredPasswordLength="3"
         minRequiredNonalphanumericCharacters="0"
        />
     </providers>
    </membership>
---------------------
every time i'm trying to add a new user, either using Register page or Web administration tool, it always asks for password with 7 minimum length and 1 non-alphanumeric character:
"Password length minimum: 7. Non-alphanumeric characters required: 1."

Since the code in the Register.aspx uses "\w{5,}" to validate password, this means that i simply cant enter password at all :) Since non-alphanumeric character cant be matched by \w :)

I searched all files in my project but i couldnt find any other place where these settings are defined :)

I'm beginning to question whether it's me doing something wrong or if it's Microsoft...

p.s. Xp pro, Visual Studio 2005, SQL Server Express.
 
Old June 20th, 2007, 11:28 AM
Authorized User
 
Join Date: May 2007
Posts: 28
Thanks: 0
Thanked 0 Times in 0 Posts
Default

hello,

try using linkbutton for home and contact for navigation.

cheers.

 
Old June 20th, 2007, 12:57 PM
Registered User
 
Join Date: Jun 2007
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Quote:
quote:Originally posted by mesdouri
 hello,

try using linkbutton for home and contact for navigation.

cheers.
But i'm using web.sitemap for navigation - you mean i can specify inside web.sitemap to use linkbutton instead of <a> for navigation?

I'm sorry, i'm new to ASP.NET...






Similar Threads
Thread Thread Starter Forum Replies Last Post
Problems already! KennySargent BOOK: Professional XNA Programming 2nd Edition ISBN: 978-0-470-26128-6 4 April 7th, 2008 03:36 AM
2 problems here with me naveed77 Beginning VB 6 1 October 17th, 2006 06:04 PM
c problems saurabh1983in C++ Programming 6 November 29th, 2005 04:23 AM
validate.asp problems and logon.asp problems p2ptolu Classic ASP Databases 0 February 16th, 2005 02:34 PM
Problems kilika Javascript 1 October 3rd, 2003 02:42 AM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.