How To Write The Series Of [Log In/logout/register/lost Password]?

i'm developing a site but i'm still new to ASP..i could only
code a simple DB [add/edit/remove] coding..

i need to creat accounts for users, so i must have a LOGIN page
contains all the standard such as: Logout, register new user,remember password ,,

users who should register in my site , are previously stored in DB by a KEY field..not to allow any user to register..a new user should only insert that key,if it is exist in my record,i shall allow him to view some pages.

View Replies


ADVERTISEMENT

Write To Text File In Password Protected Directory

I have a form mail script that sends an email and then writes to a text file using Server.CreateObject("Scripting.FileSystemObject").

The problem I am having is that the information needs to be saved in a Password Protected Directory. When I try to save the info it gives me a permission denied error.

I had my hosting company change the permission on the directory and the script was working ok but now it isn't.

Is there a way to pass the username and password in the script so I don't have to worry about the hosting company messing this up?

View Replies View Related

Lost Session Variables Gets Lost

I have a website that has a asp secured members only aria that keeps session variables to check if someone is logged in or not (if session variables are not there then redirect to logon screen) but I also have non members aria and I need a way of asking the user if they want to move away from the members only area or go back to it. I have used an asp to find out if the page is a non member page and if there is a session variable there.

If there is a session variable and is a non member page then I use JavaScript to bring up a confirm box that if the cancel button is pressed then it goes back a page. The problem is that when you go back a page the session variable gets lost. Dose anyone know how to solve this problem or a better way of doing this?

View Replies View Related

Run A Series Of If Statements Against The Sql Result

Just got back from a half marathon and my brain is leaking more than my shower. I've got me an sql statement that uses the count facility, hence im expecting a numeric value to be returned when the query is executed.

However, I want to run a series of if statements against the result - so I guess I need to get the result into a variable or such, to do the work on. Problem is, I dont know how. Worse still, it seems that nowhere on the web is a tutorial telling you how.

View Replies View Related

How To Delete Multiple Records Using A Series Of Checkboxes

Does anyone know how i could print multiple records in a database using a series of check boxes on a webpage? i.e it prints all the records that have been ticked?

View Replies View Related

Register

I run a classified ads site, and one of the features are that the user will be notifed of all new ads (at once) that are posted, everynight. At the moment the user must go to a specific page to enable this, what i would like to do is set this automatically when registering to enable.

the database uses yes and no for this feature, however i have tried entering a default value of yes, however when someone registers it shows the (-1) in the database and not the yes.

View Replies View Related

Self Register

Is it possible to creat aSelf-register form on IIS? Using Widows server 2003, is ther any script needed to do so, or any extensions.

View Replies View Related

How To Register DLL Programmatically?

I have this ASP page that checks if a certain DLL is registered on a client machine. If it ain't registered, then it should be registered.

Here is the part of my code that supposedly registers the dll: Code:

View Replies View Related

Register And Login

I need help with creating a register process for the user(Name, Password, email and phone) and then them being able to login(using name and Password)

I using ASP and access database, I'm also doing it in wap/wml but I think that if I had it in just normal html I would be able to convert it

View Replies View Related

Register .exe For CreateObject

I made a small executable file in VB, compiled it and threw it in the Bin folder of my virtual web directory, however when I try to run it from an ASP webpage I keep getting the error that it can not create the object.

After some googling everyone seems to say that you must register the .exe with the server first. My question is, how do I go about registering the .exe file with the server (I have admin access to the server) so that I can use it in my ASP webpage.

View Replies View Related

Register Txt Sends Me Where

This regards a listing of youth events. I have a Access DB that users input to. A page where users can view input and the events. I use Dreamweaver to make this. When entering informaiton into the db a user would enter in the Event_Reg field the site where a person can go to register for the event. I would like to make a Link Titled "Register" for all events that users enter into the db.

But when a users clicks "Register" it would take them to the site specified in the Db Event_Reg field. Below is the dynamic code I am using now. It will produce the actual site address. I just want it to show Register when clisked take them to the appropriate site.

<%=MakeHyperlink((Recordset1.Fields.Item("Event_Reg").Value))%>

View Replies View Related

Register Components With MTS

How do I register FileSystemObject and ImageGlue component with MTS? Because the files manipulated using ImageGlue & FSO need to be recorded in the database. Without transactions, a lot of 'floating' files (without entry in the database), and entries without the physical files left around on the server.

View Replies View Related

Do I Need To Initiate/register CDOSYS In IIS 5?

I downloaded your "A Beginner's Guide to CDOSYS" article I
displayed the Sample1.htm page with the IE6 within
a web folder. The page display perfectly. I filledin the
e-mail info and clicked send. All worked without any error
message. I destination e-mail address never received
the mail. Do I need to setup IIS 5 first? Register it
somehow. Please advise. I'm anxious to use this built
in component.

My ISP is Comcast. My OS is Windows 2000 server Pro.
I setup the MS Outlook for outgoing mail. Outgoing mail
with MS Outlook works fine.

View Replies View Related

Login And Register Function

I have set up a login and register function in my site. When a user logs in they are re-directed to the homepage.

What i want to do is display the users name after they have logged in, on the homepage. How do i do this?

View Replies View Related

Login.asp And Register.asp Link To MS SQL

how to build a login.asp page with a session control and register.asp page with validate input value.

View Replies View Related

Individually Password Protect Multiple Directories? Password Expiration?

I have a client who wants to password protect a learning course that is set up in modules. Each module needs to have it's own password protection so users can only access them as they progress through the course.

Each user should have their own password (for each module) and, said client would like the password to expire for the user at some (predetermined?) point. Is this possible? It seems like a lot (in terms of setup), but I don't know much about password stuff.

If it is possible, can someone give me an overview of how it works (theoretically) or where to find more specific info on setting something like this up (in ASP.net)

If it isn't possible, can someone suggest what is more reasonable in terms of protecting the modules?

View Replies View Related

How To Check If A Register For A Specific Field Does Not Exist?

I have a database with two fields: product and photo. The page should display pictures of the product, which are on the photo field and if there is no picture (in this case there is no registers in the database) I need to display a message like "hey dude, no pics right now". Code:

View Replies View Related

When A User Register In Website Then All Informtion Send On His Email

I want an automatic email to send to a user when they register, the first page looks like this, i took away all the table information and what have you ....

View Replies View Related

Password Sessions - Prompt Password Change

I created sessions to authenticate username and password. How can I utilize this same script to alert the user to change password at 3rd login? In other words when a user logs into a site after the 3 or 4th time which ever, they are prompted to change their password. Code:

View Replies View Related

Check If User Is Register. How To Detect If Any Records Are Found In Database

I am having trouble trying to detect if no records are retrieved by the search. There doesn't seem to be a problem with the connection to the database or the SQL query. I think the problem is somewhere in my If statement. Code:

View Replies View Related

Sessions Lost?

I've got two sites, on the same server, with the same pages (ones for test,
ones live) the only dif that I can find is the global.asa has different db
strings.

The sites (that I didn't write) are using javascript (not jscript,
javascript) as their ASP serverside language.

The sites login, set some session values, then redirect to a .htm that
builds a frameset and loads some pages. This redirect is losing all the set
session values on only ONE of the sites. Any ideas where to start?

View Replies View Related

Lost Passwords

In my access database i have 2 tables called seceret question and secret answer. I would like to provide users with thier passwords without using emails. There would be a screen where they can enter thier username, secret answer then thier password will be displayed on the screen. Or alternatively they could just enter thier username and thier password

View Replies View Related

Lost Session

my site apears to be loosing its session variable because it uses dynamically created absolute links. but because the user could have entered the site using any of 4 domains the links might change the domain.

So the user sees no difference but the cart has lost its session. firstly, is this possible? Secondly can I determin the url used to find the site and use that in the dynamic links?

View Replies View Related

Session Lost

I allways loose the Sessionvariables in my asp-pages (I'm using IIS5.0 with
Visual Interdev 6.0).

For Example: when i create a startpage.asp, and type > Session("PersonalNr")
= 456 < he cant remember this value on another page.

when i query this value (for example in endpage.asp):

Response.Write(Session(("PersonalNr")), i get the value 0, because the
session will be restarted (The function "Session_OnStart" will be called
again in the global.asa file)

Does anyone know why ?

View Replies View Related

Var's Lost On Refresh

I have pg1 sending 6 vars to page2. Page2 uses the 6 vars to pull from an access database the fields of a specific tbl. under the sql stmt a function displays the records with headers, which will be sortable and pgable.

Problem is this. The initial load is fine with sortable hdrs and pgable pgs. BUT when the user clicks on any header to sort or next pg, then the vars are lost and the sql stmt is emptied.

Is there a way to hold the vars, or convert them easily to a hardcode type string?

View Replies View Related

Session Variables Are Lost

I have a problem with my asp code on an iis 6.0 server on windows 2003
web. When I redirect between to asp pages on my web-site, where pageA is
in a different virtual directory from pageB the session variables value
a lost. I know that it is the session ID there increases. (New session).

If I make the same call in the same virtual directory the session
variables is not lost. Is it some thing about different application
pools? If sow, how can I join two or more application pools regarding
to session variables? If not is there a none coding work around.

View Replies View Related

Form Data Being Lost

1. A Form which is a drop down menu, posts selected value to the same page.
2. This page connects to a database and depending on the selection from the form. the results are displayed for that selection.
3. This page needs to refresh to pull updated data from the data base.
Heres the problem..
I have the form and page pulling the correct information and displaying it on the page, but when the page does a refresh the value selected from the form is lost and then no results will show.

View Replies View Related

Session Lost Across Page

What could the likely cause of a session value being lost when one navigates
to another page and attempts to write that session out:

Page 1

session("u_name") = oRS.fields("u_name")

Navigate to Page 2

Response.write Session("u_name")

....."_name" seems to be empty on Page 2.

What am I doing wrong here?

View Replies View Related

ASP Session Lost In IFRAME?

I have a project in which I'm trying to embed one site, that uses
session stored variables, inside an IFRAME in another site (which for
that matter doesn't even use sessions).

Problem is, that it doesn't always save the session. When I try to
access it from some computers, I have no problem, the session variable
is stored and I can browse the site in the IFRAME and everything's ok,
but on other computers, the session variable value simply disappears.

To simulate the situation, assume that the two following html trees are
the site that goes into the IFRAME: Code:

View Replies View Related

Session Variable Lost

currently i working on project in asp, i done everything in my own company server and eveyrthing works fine, when i migrate to customer place server, eveyrthing also working fine, but the only thing doesnt work is session variable, i totally cant get my session variable in the customer place's server. Server in my company and my client is the same, window 2003 server, iis 6.

View Replies View Related

Catch Lost Session

Is there any way in ASP to catch a destroyed session when the user closes their window.

Example.

When a user enters a page, I create a session - Session("blah")="blah" . However when the window is closed, the session is destroyed, but before it's being destroyed, I want to some things.

View Replies View Related

Session Lost In Iframe

I have an mypage.asp page with a button, one can access this page only

if
Session("smth") = 1.
There is also an empty iframe in this page (src is not specified).
When I click the button I will fill the iframe with a page (src =
'another.asp').

For security reasons I check the login session in another.asp and
Session("smth") is empty no matter I have logged before.

In mypage.asp Session("smth") is still on and its value is 1 but it
looks like it gets lost in the iframe.

Any idea why and how to fix this issue?

View Replies View Related

Lost Sessions Issue

We're experiencing random user sessions losses on our web applications,
and are researching for any useful information which may shed light on
this problem.

Environment:

In our company, we're developing a web product based on ASP.NET 2.0, in
conjunction with Oracle database over ADO.NET and external COM objects
running on the server, interacting with the database, and with external
modules.

Our servers are Windows Server 2003, running IIS 6.0, with all the
latest patches and updates provided by Microsoft. Web application on
the server is a precompiled version of our web solution. Code:

View Replies View Related







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