One User One Page

I have a login page. and more users. Let's call them users A, users B and Users C. Users A can only access page A, users B page B, ... All the pages uses the same DB, but different tables (table A, table B, table C).

View Replies


ADVERTISEMENT

Display Aspx Page Or Reporting Services Page In User Control

What I want to be able to do is create a user control that will display an
entire page page within it. Does anyone know how to do this or better yet
have any same code?

View Replies View Related

Take User To Different Page

Based on users selection from two drop-down lists I want to take them to a page specific to that combination when they click a button. For example, In the first drop-down, the user selects from a list of colors (red, blue, or green).

In the second drop-down, they choose the type (car, van, truck). When they click a button, I want to take them to page specific to what they selected - say a red truck (redtruck.htm). I am not sure how to combine IF or CASE statements with button action.

View Replies View Related

Updating A User Page

I am trying to create a page where a registed user can save a search to their member page. So if they see a cottage they like they can save it to their member page.

This is what i have so far This is what passes username and prop_no over to my userupdate page:

<A HREF="Userupdate.asp?UD=<%=session("username")%>&NO=<%=objRs5("fldProp_NO")%>">Save Cottage </A

The uodate page then looks like this Code:

View Replies View Related

Redirect User To Another Web Page

Is it possible to redirect a user to another web page using ASP code located in page body?

I have some ASP code that runs after generating some output to the browser.It checks for a condition that can only be calculated using the values produced in the output, so redirecting the user before the <html> tag isn't possible without running the code twice.so RESPONSE.REDIRECT "url" won't work.

View Replies View Related

User Add Printers Via Web Page

I have VBS code that will Enumerate all the Printers in the AD and Add the Printer Connection to the client... I'm just not a web developer so I need some example code or hand-holding on the web integration portion.

"Aaron_TekRecycle.com" <aaron_NAME@DOMAIN_tekrecycle.com> wrote in message
news:eNuYPY#TDHA.2260@TK2MSFTNGP12.phx.gbl...[color=blue]
> Does anyone know of an ASP page that will query the AD and list all the > printers so the users can "click to add" printer mappings to their[/color] profile?[color=blue]

View Replies View Related

Running Asp Page As Particular User

I have this situation where I have one shared folder on particular server
and this folder is shared for just one user to access it. I wrote an asp page
wich should open a file from that shared folder. However because the folder
is shared for just one user I have somehow to run the asp page as this user.

The same way like in ASP.NET application where I can use impersonation in
web.config file. Is this possible?

View Replies View Related

User Closing ASP Page Before Completion

I have an ASP page that runs for at least 2 mins. What the user sees is a progress bar as the page is completing execution of scripts so they know that something is being processed.

The ASP page can be quite CPU intensive and I've found that if the user decides to close the page the CPU usage does not appear to drop back to its normal levels whereas on sucessful completion of the page the CUP usage does drop to normal levels.

Now I know that after a while the CPU usage does drop to its normal levels, however, I'm weary that this could be a long time if there are simultaneous access to the same page.

My question is, is there a way of controlling this via scripts? ie. can I force the webserver(iis) to timeout the script sooner or is there a way i can kill the instruction been sent...

View Replies View Related

Login Page & User Details

I am creating my student website. I have completed with student registration parts (student enrolment form, personal details) but now my client requirement is that if any student come to my website , he/she needs to register first so if they log on next time , screen will comes up with their all details.
I tried to create login page and if they are not in database , they can register on my website. But I could not able to create in my website. There might be more users so need to have loop in my code.
Once user log in their name and password , it will search in database and if database found that record in it , that page will redirect to my website page which will comes up with perticular student information.
project details : XHTML (Front End), Java Script (Validation), ASP (Connectivity), MS ACCESS (DATABASE).

View Replies View Related

Getting To A User Page By URL E.g. Www.mysite.com/username

i would like to manage to do the following:

in my website there r registered users.
each user has a profile.

i would realy like to help the other users access a certain user profile by:

www.mysite.com/username
rather then
www.mysite.com/viewprofile.asp?user=username

i'v seen that made on serveral websites, how can i do it?

i geuss thats involving giving the server default asp page for parameters or somthing like that...(I am using IIS 5)

View Replies View Related

Secure Page By Remembering User

After a number of wrong turns and experiments I need advice on login management system to secure our web pages without inconveniencing our visitors or our internal staff.

i need A system whereby the user only has to register ONCE and he will have automatic entry to ANY page without havinto to RE-LOGIN even if he comes in two weeks later or comes directly to that page via an email link. This scenario seems built on the Amazon model of the 'gold box' which automatically remembers you through cookies.

If the user does not have cookies he has to re-login. help me identify a 3rd party product that does this or a route to achieve this in my code.

View Replies View Related

How To Get Data From The User In One Page And Display Related Data In A New Page

how do i get data from a user on one page and display the result on the other page
actually i have written a prgoram that displays a set of checkboxes and based on the checkboxes selected the related data is displayed .but the problem is the data is displayed on the same page below the list of check boxes. Code:

View Replies View Related

Adding IM Link To An ASP Page From User Information

I have a user based service where each user has their own information, user settings, etc. I want to be able to add tables in my user settings and allow the users to enter in their IM Service (AIM, Yahoo, MSN, etc) and their screen name/user name.

That is the easy part.

What I do not understand or cannot figure out is how to link this information to the icons for each service they enter that will open up the appropriate service with their correct IM name, etc.

Basically I want to provide a way for my members to IM another member when they pull up that users information, or associated information, etc. Basically I need the script to make the Icon execute the correct IM service if the user clicking on it has the service installed as well. The majority of my members use AIM.

Where can I find information on how to install this kind of script and associate it with the users information and an icon?

View Replies View Related

Add New Objects To The Page When User Clicks On A Button

Is there a way to dynamically add drill down lists and input boxes to the HTML page. For example if the user clicks in a button it adds a new line contains one drilldown list + two input text boxes?

View Replies View Related

How To Redirect The User To New Page After Downloading An Mp3 File

I have set of mp3 files as a list (DownloadFiles.asp). The user can click on any of the mp3 files to download(Download_Porcess.asp).After downloading the file the user has to redirect to the DownloadFiles.asp.

For this i used:

response.contenttype="audio/mpeg3",
response.binarywrite("binarystreamofmp3file)

In Download_Process.asp to force the save dialog box. This works fine. This allows the user to download the file. After downloading this mp3 file, this file should not be displayed in the list ie in (DownloadFiles.asp).

How can i do this?

I am not able to redirect from Download_Process.asp to DownloadFiles.asp, b'coz I used response.binarywrite.

View Replies View Related

ASP Page - Alerting User That They Have An Email On Our Exchange Server?

Is it possible to create an ASP page that can notify the user that they have an email on our Exchange server? And that will list the number of unread emails they have waiting in their inbox.

View Replies View Related

Global.asa :: Send The User Back To The Login Page

im tryin to secure my application. i want the application to send the user back to the login page if they have not logged into the system. do i use the global.asa file or is there a simpler way to do this?

View Replies View Related

When User Clilck On Link Then Registration Page Open

user clicks the link which brings him/her to a secure page (let's call it page "X") which requires login session. If user is not logged in, he/she is redirected to a login page. how can I make user get redirected back to that original page (names "X") which threw him/her to login form?

I tried something like getting url name of page X and redirect to login with that name variable. After login, it gets redirected back to the page that sent variable. But it did not always work.

View Replies View Related

ASP Page Challenges For User Cerdentials When Large Output Return

I have an ASP page which users can call with various parameters to generate
data for reports.

However, some users who specifiy very few parameters and so generate a large
result page are geting challenged for their network credentials after approx
30 seconds.

When they enter their credentials for the third time the page returns with a
401 "You are not authorized to use this page"

Yet if they specify more parameters (and so get a smaller result page) then
the page returns normally.

If checked the query in the database and it runs fine with no errors, so I
ssupect I'm hitting some sort of buffer limit within IIS? Code:

View Replies View Related

How Can U Connect To 1 Of Several Dbs Based On Selection User Makes When Accessing Main Page

We have a web site IIS 5 (on Win2000k) with Oracle 9i backend (Sun unix).

There is 1 user ID to oracle(APT_W3) that is used by all users (50).

We have a global.asa file that has one APP Start connection string using OLE
DB:
Application("dbConnString")="Provider=MSDAORA.1;Password='SDERSD';User
ID=APT_W3;Data Source=CCEWSDD1_new;Locale Identifier=1033;OLE DB services=-1"

The first page that a user sees asks that they select the area they want to
see (western, northern, etc) from a dropdown menu. Once they select it and
hit save they can go to other pages, session varibles indicating what area
they selected are then passed to pages. Currently all areas are in one
database.

What we want to do is have areas in separate dbs, a northern one, a western
one.etc. Each will have separate user ids (APT_W2N, APT_W3W,etc).

We want the users to have the web page presented to them where they select an
area. Based on the area they select, the appropriate conneciton string will
be used (the one in the global asa). Code:

View Replies View Related

ADSI - Trying To Enable A User - The User Add Works Very Well

I have written an ASP.NET 2.0 application that uses Active Directory or ADAM
to manage account users - the site has a page that allows people to create an
account (much like any site). The page populates the AD with all the
information and the user account but I am unable to enable the account.
Microsoft has information on how to do that here -->
http://msdn.microsoft.com/library/d...ting_a_user.asp
(the sample is for Visual Basic) - and I am unable to complete the bottom
portion of the script. Can some one point me in the right direction - or can
you tell me how I can add a snippet of VBscript code to an ASP.NET page.

I am using the Active DS Type library - not sure why there are multiple ones
(System.DirectoryServices) but it is rather confusing - I seem to accomplish
one thing with one and another with the other (they did have trouble
co-existing however). Anyway my script works very well but I am not able to
access the properties required to enable the account.

Here is a simple version (no error checking) of the code.....

View Replies View Related

Mail User Info To User

how to go about setting up an asp script or flash action script to take the input from a user of his/her username and password then send an email to the user with the information. I am able to do all of this but the problem is that the users pc is the one sending the email. I want the server to send the email instead.

View Replies View Related

Can't Get User's NT Log-in

I'm having a real tough time getting a User's NT login after they
submit a form.

I have Anon. Login disabled. I'm using Digest Authentication (although
I've tried everything).

Every time I run the page, I get a blank string instead of the
requested information.

The information is in a hidden field, with the value set to:
<%=Request.ServerVariables("LOGON_USER")%>

The icing on the cake is that when I run this on my PWS, I can pull the
information and it shows up in the SQL DB I'm sending it too. But, when
put on our live box, it doesn't show up. The setting on each box are
exactly the same.

View Replies View Related

User Ado.net

I have a classic ASP program running on a server in the DMZ. I need to consume a web service so that I can consume data from that web service. However I am not able to call the web service from the DMZ since the server can not send messages out on the
internet.

Thus, I need to send the call to another server running within the internal
area of the company's internet. I need to send this message to an IIS server
and then from the IIS server call the web service. I was thinking that I need
to call the service on the IIS server with an ADO.NET connection. This
ADO.NET connection object would be generated just long enough to call the web
service, get a response from the web serice, and return the message to the
server running in the DMZ.

Let me know if you think this would be a good solution and tell me how you
would setup this interface. (Should C#.NET or Visual Basic.NET be used or
some other lanaguge.)

Also after this solution works, I will need to implement this similar type
of solution to call other web services.

View Replies View Related

User NAME

does anyone know a way to show a users USER name instead of just there login name
its for a school intranet currently we retrieve a lot of data based on the login name by using this script:

[code] <%=Request.ServerVariables("LOGON_USER")%>

it would be a lot more functional if i could pull the full name, we are using Active Directory 2003 and iis6, and all the logins have the full username inputted in the AD?

View Replies View Related

ASP.NET User In AD

It seems that the ASP.NET user in AD has been deleted. How can I get it
back?

View Replies View Related

ASP Add User

I'm developing an ASP form registeration system. The details of the form must be added to a text file not the tradional database.
Each time a new user adds a record it should be added to the list at the bottom to the previos adder.
Does anyone have a script sniplet of how i could do this.
Remember details from the form i.e. name, firstname should be added to a text file...

View Replies View Related

User ID

How can I get the user information of the user as which the ASP script is being run?

View Replies View Related

Get User Name With WIA

I am new to .NET and I am trying to get the user name from a kerberos ticket and I have no idea how to do that. There seems to be some ability to do it using WSE 2.0 but I cant really see why there is not an easier way. how to do this?

View Replies View Related

User

I have a admin-page wich is username and password protection and Microsoft Access database with table called "member" and fields "username and "password" in it. I wan't to have a welcome message when user is successfully logged in so he/her can see for example "Welcome Chris". How to I do this?

View Replies View Related

ASP Read The Execl Cell's Data, Web Page Created From Excel2000 -- Save As Web Page

I created a web page from Excel2000, using "Save as web page..."...Publish
function. then, I moved htm file to my IIS web server. Then I added a form control, and submit button.

How can get the data on the excel file using ASP from server side?
For example, the value of Cell(1,2), Cell(2,3)....

View Replies View Related

Create New User Using IIS/ASP

I'm running IIS5 on a Win2K server, and I want to have an ASP page that
creates new users. I have some simple code to test this, but am getting
a "500" error when I run it. The ASP looks like:

<%

strDomain ="Foo.com"
strUser ="Foo1"

' Create new user with password
Set oDomain = GetObject("WinNT://" & strDomain)
Set oUser = oDomain.Create ("User", strUser)
oUser.SetPassword = "password"
oUser.SetInfo
%>

Just for this testing, I've added IUSR_machinename to the Administrators
group, but am still getting the 500 error.

View Replies View Related

Limit User

How can i limit the number of users on my .ASP page, i want only one user to
be using the page at a time,

The query i have on my page is big and takes a lot of my system resources.

View Replies View Related







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