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


ADVERTISEMENT

User's Username

How can I list all logged in user's username in the page?Can any one send the code to vu3apq@gmail.com.

View Replies View Related

Username Of Domain User

How can I get the domain,username and PC network name (Win 2000 Pro & Win XP Pro PC's) of the current logged on user (logged onto a domain and access an intranet page, Window 2000 server running IIS) and put this automatically in a textbox in an webpage. Can this be done with asp & VB?

I basically want to automatically populate a username field with the users logon so the do not need to type it themselves, leading to type errors

View Replies View Related

Obtaining User's XP Username

I am writing an ASP that writes info to a database. The application does not reqire the user to log in as it doesn't have any authentication process, but as part of the information I write to the database, I need to pass in the user's Windows XP username. I don't want to have to ask the user to enter their username, so is there a way of obtaing the user's XP logon username without them having to type it?

View Replies View Related

Session Retrieve Of Username Depending On Which User Logs Into The System?

I have my system set-up, where by when a user accesses the cms, a time stamp is added to the database. So we can keep check of when people accessed the system.

The added benefit of my addition, is that a session timeout is usable based on the inputted timestamp the user logged in. I added this functionaility because the system could be idle for some time and if so set the session to equal nothing or similar.

However what would be a nice feature of the cms is the display of the current user.

Below is code I have inputted to give some idea of what I am doing

Session("ADID") = objRS("adminID")
objConn.Execute("UPDATE tblAdmin SET adminLastLogged=now() WHERE adminID=" & Session("ADID"))

Session.Timeout = 30 ' 30 = Minutes

SO does anyone know how I can retireve the adminUsername based on the session used when loggin into the system.

View Replies View Related

New Username Page

I'm creating a set of new user pages for my site. At present I've got a newuser1.asp file which tests if a username exists. On failure (when the username exists) it goes an almost identical copy of the file and the user has to try out a new username and password.

This seems rather inelegant (having to upkeep two files) so I'd like to have just the one page with the failure redirecting back to itself but then displaying appropriate wording ('the username exists.so that I can try to work out an appropriate solution?BTW I'm using ASP VBscript.

View Replies View Related

Asp Page Asks For Username & Password

Our company has an intranet paging website. It gets all the contact and
group addresses from SQL Server database. The paging is done through
WCTP.

It works properly except for only one group where it asks for username
and passord when the user tries to send a page and does it
successfully. But before I view the status of the page it asks me for
username and password. It asks thrice and then give me an error web
page.

View Replies View Related

Username And Password For View An ASP Page

I have an ASP Page that I want to make Username and Password for Viewing it. Can you guide me how can I do this?

View Replies View Related

How To Protect A File Upload Page With A Login Username Cookie?

I have downloaded a nice upload script from the internet, it works great, but I would like to have it protected,so that only the admin user can use this upload page, I'm getting the following error:

Microsoft VBScript runtime error '800a01b6'

Object doesn't support this property or method: 'Request.Session'

If I change it in Request.Cookies, that won't work either.....

View Replies View Related

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

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 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

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

NT Username

Is it possible to use API to get the network username? I am using it in Access and want to use the same function in my ASP page

View Replies View Related

Username

all ive done is a very simple form to post comments onto a noticeboard......using asp and access for now, all i want to be able to do is when its submitted it also sends the Windows username of the person who has submitted it to the database automatically so i can then show it on the noticeboard.

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

XP Username Password

How to use WIndows XP login username and password for ASP 3.0 Authentication, for access to a website directly without any further, second authentication by ASP page?

I have MS SQL Server database, ASP 3.0 website, and ASP 3.0 based authentication. I want to use a Windows XP username, make a table with approved usernames, check Windows XP username and password against the mentioned table, and finally - user can access the site without second authentication by ASP page. Of course - everything should work in IE.

View Replies View Related







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