Testing Custom Membership Provider

How can I test a membership provider using a test project within VS 2005? Basically I am stuck trying to read the custom app.config file I added to the project with a <system.websection.

I think the testing environment is more structured than creating a web application to test the provider.

View Replies


ADVERTISEMENT

Testing Of Concurrent Users/ Load Testing

How do test my web application for concurrent users (how much concurent user connect at a time and how traffice will be affected and what will the response time?) and how it is done, how long it will takes, does it interfere with current site, etc.?

Reagarding the number of users the site will accomodate is it based on where it's hosted

Application written in ASP/Sql Server. Code:

View Replies View Related

Membership And Personalization

I'm starting a project at home and want to go to right way off the bat. I'm in the process of evaluating if it's a good idea to use personalization and membership systems from microsoft. Anyone had practical experience with it?
Second question. I will use several content articles that i will display on my site. Is there a way to link the objects of my site unto membership accounts? How easy is it to maintain and use?

View Replies View Related

Membership ApplicationName

I have created a web application and I am using it from a single website and
database. The web application has different ‘portals’ – each independent and
I am using the Membership & Roles ApplicationName to separate out my
different groups of users within the membership database.

I had been having problems with ‘random’ bugs - as though my Membership
database was 'sharing' information between users and applications rather than
keeping it separate.

I have now come across this article. Is what it is saying about Membership
being a singleton true? Code:

View Replies View Related

Asp With Membership/login

Is it possible to use asp.net membership/login control with pure asp i.e. user logs in using login control and then asp can use it somehow? Is there a code example somewhere?

View Replies View Related

Membership Problem

I have a membership problem I couldn't resolve. I have set up membership
as most of tutorial instructed, and I am able to log on, but cannot stay log
on for some reason. ex: when I log on, the log in become log on, but when I
access the protected page, it still prompt me for log in.

View Replies View Related

AD Group Membership Check?

I'm rather new to ASP and am having trouble with implementing a group membership check in one of my functions. I have this function which I use for authentication pass-through:
Code:

View Replies View Related

Script To Check User Membership

I need VBscript to Check if user is a member of an Active Directory Group. I read about something called "MemberOf" to check that.

View Replies View Related

Display Info Based On User's AD Membership

I'd like to have a frequently used link page on our intranet that displays
the urls' based on a users's ad group membership, i.e. if from accounting
show general ledger reports, if from loans, show credit report. I'm not much
worried about hiding from enterprising users, i'd just like to make it
simpler rather than having people have to scroll through pages of links.

View Replies View Related

App Testing.

test my app? it's still in development but it's very much usable. i'm looking for few good object oriented souls that can look at this. i'm still adding few functions so don't be surprised if it goes down for a VERY short time (minutes really).

View Replies View Related

Custom 404 Page

I notice that when you have the defualt setup of 404 error
pages the IIS 5.0 log tracks the page the user was trying
to get to and the page they where at when they tryed to
get to the now missing page. I recently wrote my own 404
error page to make it match my site but when I set IIS to
use my custom page it no longer traks the page that the
user was trying to get.

I was told I needed to add some
code to my page to fix this, but I don't know what code to
add. Can someone tell me? (I am useing ASP on the custom
404 error page) I am returning a 404 error response,
everything works fine it is just that IIS does not log
what page the user was trying to get to.

View Replies View Related

Custom 404 Asp Page

I created my own custom 404 handler and it works, so when I put in

http://www.domain.com/badxxx.html
it produces the correct 404 error and you see
http://www.domain.com/badxxx.html in the url still which is fine.

But when I put in
http://www.domain.com/asdf

it redirects to
http://www.domain.com/index.html

it gives a 302 (moved temporarily) as well as the 404 error.
Why does it do this for not .html files? I dont redirect it at all, and am
using
thestring = Request.ServerVariables("QUERY_STRING") to get the url

but thestring sometimes does not display the asdf depending what I do after
this command, very odd.

does anybody have anyideas as to how to preserve this
http://www.domain.com/asdf in the url and avoid the 302?

View Replies View Related

Custom Hit Counter

I decide to put a custom Hit Counter on my page (below). Then I won't be
reliant on the standard FrontPage one which uses webbots.

It is called by:

<b>Hit Counter: </b><!--#include file="_fpclass/hit_count.inc"-->
The code it includes is below.

OK, it works - sort of.

If I go to Guestbook and then return via the Home button, the counter
increases by 3, not 1.

I can't see why this is happenning.

After returning, a refresh increases it by 2, then another refresh increases
it by 1 ??

I know that many say "Don't use them - it is a sign of an amateur", but I
would at least like to get it working even if I later decide not to use it.

I have thought to make it a conditional include, i.e. if document.referrer
is blank. Is that possible? Code:

View Replies View Related

Custom Tags

i have a table that users are inserting custom tages ,it looks like :

user_id type value
1 99 television
2 98 beach
3 99 coldplay

etc.
now i have to make a search which will show all the users that typed the same value from the same type .i dont want the query to be a textual query (slow ...)what is the right way to do it ?how can i make a query that JOINs to tables from 2 different databases?

View Replies View Related

Custom Sessions

how to go about setting up and using custom sessions for user authentication throughout an application?

View Replies View Related

Custom 500 Error

When you have a custom HTTP 500 error handler, how do you go about making sure all your previously opened recordsets/objects/connections/etc.are closed properly?

It would seem to me that once you hit a 500 error, you have no opportunity to close any of the previously opened objects, eventually causing memory leaks.

View Replies View Related

Custom 404 And Logging

I'm developing an application that uses a custom 404 page to deliver all of my site's content. However, doing things this way renders IIS's regular log files pretty much useless.

Are there any established "best practices" for creating your own logging system? I know that others use this technique and I'm hoping someone has some ideas they can pass along. For example, do you log every single page request or do you just log totals per day, week, or month? How do you deal with the increasing volumes of data? Do you collect referrer data, etc.?

View Replies View Related

Custom Controls

I have code for remove button.How to make it a common control so that it will be handy to use.

View Replies View Related

Custom 404 Page On IIS

I asked my hosting service to setup a custom 404 page for me. They did, but when purposely calling a non-existing page with XMLHTTP, the new 404 page returns a 200 / OK status.

They seem to be taking their time trying to fix this, so I wonder if a custom 404 page that truly returns 404 status is a hard thing to set up for individual domains hosted on IIS. I hope my question makes sense to the readers.

View Replies View Related

Use Custom Fonts

im interested in replicating how moonpig.com 's card editor works. in particular how you can display a custom server side font in a wysiwyg editor. i know moonpig uses .net but can this be accomplished using plain ol' asp ?

View Replies View Related

Cookie Testing

I need to revisit cookie testing. On the home page and every product page I
write a cookie. I do this because some users enter by direct links to
product pages.

<%
Response.Cookies("cookietest") = ("49")
Response.Cookies("cookietest").Expires = Date + 2
%>

On the cart page I test for the cookie...

<%
If Request.Cookies("cookietest") <"49" Then
Response.Redirect("err.asp?e=1")
End If
%>

I have a user that insists he has cookies enabled, yet he keeps getting
redirected to my error page which suggests he does not have cookies enabled.
What could cause this? Is the above too simple for all circumstances?

Is there more extensive code that I could setup on a hidden page where I can
send users to get read out on how they actually have their browsers setup?
i.e. Run a test on their browser and the results are emailed to me.

View Replies View Related

Testing ASP Cookies Using IIS On Win XP Pro

I'm sure I have missed something but I can't see what...

I create two cookies on one ASP page as follows:

response.cookies("Errors") = "Must not be blank"
response.cookies("User")("Mem_Username") = response.write(M_Mem_Username)
response.cookies("User")("Contact_N") = response.write(M_Contact_N)

This page then calls the second ASP page which then reads the cookies:

E_Contact_N = request.cookies("Errors")
C_Contact_N = request.cookies("User")("Contact_N")
C_Mem_Username = request.cookies("User")("Mem_Username")

When I then use response.write (for example, response.write(C_Mem_Username)) to view the contents of the variables, there is nothing there.

As I say, I am still developing the site and so am using IIS on a Win XP Pro machine (local host)

What I am doing wrong?

View Replies View Related

Testing For A Cookie

I know very little about ASP and ASPX pagfes but i inherited a web site done by a guy who knew just a little more than me and I've worked around things with my knowledge of HTML and Javascript, as well as added on to the web site using Cold Fusion. But I am at a point that I need to be able to do more.

I have a ASPX page with a Log In button that I don't want see if a certain cookie exists. Is there a way to test for that cookie on the page and display or not display something based on that test?

View Replies View Related

Security Testing

my system is at testing phase. how do i test my system to check its security especially at the login page? i am running it at localhost. i have tried sql injection but nothing happened. i just saw the invalid login username or password error only.

View Replies View Related

Error Testing ASP And IIS

I have created a page that will allow all web based errors generated to be logged, like IIS errors 404, 403,401, 400.

I am now testing to see if the correct files are being displayed when the errors occur. I am able to replicate the 404 err as well as the 403 error, bu I cannot test the 401 or 400 errors. Does anyone know how to do this?

I tried using err.raise, but it doesnt seem to work, unless i m doing something wrong.

View Replies View Related

Testing Scalability

How can I test the scalability of my website, e.g how can I check if my website still performs correctly when there are 300 people visiting?

View Replies View Related

Testing ASPs

I need to test ASP pages at home before uploading them (no net connectiona t home, only here at uni and I need the site owrking before I transfer it).
The ASP pages are written, PWS is installed (except for some file that had an error - but that didn't install last time and everything worked fine then).
Where do I put the ASP pages and DB and how do I set up a connection between them? The pages run in IE at the moment but no data is pulled onto them from the DB.

View Replies View Related

Testing Tool

May I have the list of good ASP testing tools available on the market?

View Replies View Related

Testing ASP Locally

When I type in the url...URL I get an error saying I'm unauthorized to view the page?

View Replies View Related

Unit Testing

I've been given a task to develop an automated unit testing framework for a project I'm workin on...

I've spotted ASPUnit on sourcesafe... but it doesn't seem to handle situations when we have global variables, session stuff etc...

I was thinking of doing something to a screenscrape and just do a file comparison... actually, there ARE ways to do this aren't there? I've heard/read about that before.. some HTTP objects or something that would allow me to call an asp page, and grab the output as a string.. rather than have the output go to a screen... anyone able to point me i the direction of this kinda stuff?

View Replies View Related

Testing For Cookies

I need to test if cookies are enabled in the browser. I disabled cookies in my browser and rebooted my browser, yet the below code still writes a cookie and reads it correctly.

<%
Response.Cookies("smcookietest") = ("8")
Response.Cookies("smcookietest").Expires = Date + 2
%>
<%
If Request.Cookies("smcookietest") <> "8" Then
Response.Redirect("error.asp?error=19")
End If
%>
<%=Request.Cookies("smcookietest")%>

View Replies View Related

Code Testing

I am developing a Testing Checklist for the Programmers in my company. As i am not a programmer, Can you guys help me.

I am looking for some common Code testing steps which a programmer should do when he is testing his web application

These testing checklist could include common mistakes programmers do or any special coding error which they might receive when they are testing their web application.

View Replies View Related

Testing Web Server

I had a mild hack of the default windows web page in inetpub because I was running IIS whilst my DSL connection was on. Ever since,I have disconnected the DSL before running IIS.

Could anyone give me advice on running IIS safely as a local testing server
(for asp pages) whilst online? I have to admit that I run an admin account (win2000) so I know this is one thing I should change

View Replies View Related







Copyrights 2005-15 www.BigResource.com, All rights reserved