How To Control The User Name Throughout The System?
I want to control the user name which is loggin into the application. Once the user is logged in, the username should be saved through out the system until the user logged out.
For that matter, how can i keep the user name? Should i use cookie or session? How is the difference and which is better?
View Replies
ADVERTISEMENT
As the subject states, does anyone know of a VCS for ASP/VBS files ?
We are using the Liberum Help Desk system, which is "open sourced under the GPL license and free for use", and are about to make some changes to the system.
As each new version of Liberum is released, we may need to re-apply our changes to the new source code. Any easy ways of doing this, or any good VCS available ? Any tips to help cut down on the work involved to re-apply our changes, for instance, the use of includes would be obvious.
Our version of the (Access) db will be different from the Liberum releases, and I guess using stored queries would be in preference to 'hard coding' the SQLstrings ? I also hear stored queries are faster.
With each new version, we would need to find out (i) Differences in the new release to the previous release, and (ii) Diifferences between the new release and our 'version' of the product. Any easy methods to do this, rather than a multitude of "file compares" ??
View Replies
View Related
I need to include Calendar Control in my Web Site.How can i use it.
View Replies
View Related
Basically I want to be able to create a user control that is more or less just a Panel. I want to be able to set properties like background color, border, etc by default within the user control and then do something like <mynamespace:mypanel>Text and stuff to go in the Panel</mynamespace:mypanel>.
I would like to be able to put links, tables, and any other kind of HTML stuff inside the Panel. What property of my class/user control would the text part be? Am I going about this the entirely wrong way?
All I really want to do is to be able to set some properties of my Panel automatically without having to type each property over and over again every time I create a Panel.
View Replies
View Related
I have one userControl containing some static HTML (div/tables) all havind unique id's and i want to collect them within one array in the Code Behind file, how would i do this through a foreach or for statement counting the items, i searched the framework, google and SP but i still haven't figured it out
View Replies
View Related
I am trying to add a basic user control to a web site; coming from visual studio 2003 this was extremely easy. I would just add the user control and then add the controls that I want on that user control, but I am not able to get a basic link button to click.This seems so ridiculously basic, but I am not able to get this to work.What am I missing?
View Replies
View Related
I am writing a web application to get System user name. By reading the previous post, it seems that this method works
<%@ Language=VBScript %>
<%
Dim user, pword
user = Request.ServerVariables("AUTH_USER")
Response.Write user
%>
but I want to ask is it only work at WINNT? How about WIN2000 Server, I can get nothing when use this statement on WIN2000 Server.
Besides, If I want to use Jsp, is there any methods to achieve the same thing?
View Replies
View Related
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
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
I would like to be able to control an asp text box control's name attribute.
I know i can manually type the whole string
<input type="text" name="username" value="" />
but then i can't use the validation control on the inputs. [free javascript ]
PHP Code:
View Replies
View Related
I am currently developing a final year project which is a web based
tracking system tracking exam questions. I am using IIS as the
server, MS access for the database, and ASP with VBScript for the
scripting side of things.
One of the things I want to do would be to e-mail a user/moderator
whenever a exam question is edited/completed/updated. does anyone have
any previous expierence in this? i don't even know where to start.
View Replies
View Related
What is the asp code variable for System Date and System Time? Are they built-in system variables, or is there some code involved to return the values?
View Replies
View Related
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
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 anyone please advise me how i can create multiple tabs under one page?
View Replies
View Related
I am using VBScript for ASP. The control value must be case sensitive? The following example should print the "fname" value, but if if I change "submit" back to "SUBMIT". Then it works fine.
<%
If (Request.QueryString("submit") = "submit") Then
Response.Write(Request.QueryString("fname"))
End if
%>
<form action="formtest.asp" method="get">
<P><input type="text" name="fname">
<P><input type="submit" name="submit" value="SUBMIT">
</form>
View Replies
View Related
I have a select element in a form on a page with some options. When i submit thet form and the target asp page is executed, i want to find retrieve all the values in that select element on the page...?
thru request.form("sel") i am able to retrieve only the vaue selected by the user.
View Replies
View Related
I am having a few problems with the Timer component in ASP.NET. I can get it to work in the C# windows application of visual studio but not in the ASP.NET.
The thing is a number of people will be logged into the website (its a game) so each person will need to view the same timer counting down to zero.
This is the code in ASP.NET. The timer only seems to be counting during page load.
How do i get it to count for a number of minutes while the game is in progress????
This is my sample code:
View Replies
View Related
I need help. I don't know how to using asp paging control function to display result pages format as like as yahoo.com or google.com.
For example.
1,2,3,4,5,6,7,8,9,10 >>
<< 11,12,13,14,15,16,17,18,19,20 >>
View Replies
View Related
I have C# windows control libarary (Dll), which I could able to load them
into browser using <objecttag with following syntax (In aspx page) and user
able to see the contolr properly.
<object name="chk" id="chk" classid="http:GSIM.dll#GSIM.gsimManager"></object>
I would like to load a client C# windows control libarary (Dll) instead from
webserver. (something like OCX)
So is there way I can load .NET control from client machine?? (Assum that,
the libarary exists in client machine GAC or in physical path)
View Replies
View Related
My problem is my active control will download to IE6 sp2, but not download
to IE6 sp1. On IE6 sp1, ther is no popup to ask for download.
View Replies
View Related
how to use grid control in asp 3.0
i am using visual interdev 6.0
View Replies
View Related
I created a stored procedure (sp) in my sql database. The sp accesses a table in another sql database. I ran the commands to add the linked server and add the linked login. The tests work fine within the database. Using Visual Web Developer, I'm trying to link my Sqldatasource control to this sp and I'm getting the error: "Could not find server 'xxx' in sysservers. Execute sp_AddlinkedServer to add the server to sysservers." Can you tell me how to fix this error?
View Replies
View Related
when a error happen in my site, how to report it to my mail etc.?but for all error..
db,fso,string error...all and all
View Replies
View Related
The login control fails password validation from both the Web site
administrator as well as from the control itself when the application
containing it is run.
The validation error message produced is: "Password length minimum: 7,
Non-alphanumeric characters required: 1."
This occurs when running the app both running in IIS and file based. What's
'odd" is it seem like a client side problem.
View Replies
View Related
I have a menu control that has two Menu choices
One is "View History Items"
the second is "PDA"
My problem is as you roll the mouse over the menu options, the second
one works only if your mouse is actually over the text "PDA". Since it
is much narrower than the first item, the entire width lights up like
an active link, but the link won't work unless your exactly over the
area that has actual text. So it appears to the user who clicks too far
to the right that nothing is happening (which it isn't)
View Replies
View Related
I need to create a treeview on a database management .aspx site that
when the parent is clicked, it expands to display the many associated
records with it. Aka, it pulls info from not one, but two sql server
tables. Further, these rows must be editable.
View Replies
View Related
Does anyone know of any source control software (besides Visual studio) that allows a multi-user environment to be able to check out/in files and keep version control?
View Replies
View Related
My website is on a server that places Cache-Control: private in the
Header of the pages that are served. I see these pages are not cached
by Google (the Google Toolbar Cached Snapshop of Page function).
Is this directive from my server preventing Google from caching the
pages that have it or do I need to look into some other problem?
Thanks in advance for your input/feedback.
View Replies
View Related
This is a small Web Application, this contains basic XML functions using ASP including a XML driven user authentication, adding new records, viewing records, editing and deleting records. Code:
View Replies
View Related
recently I am building a web application, i want to know what is the difference between web server control and web html control,what feachers do they provide?
View Replies
View Related
I want to write an activex control. This actiovex comntrol will be a simple drop down and when i select a value from this drop down the value in another drop down will be fill up based on this value with page refreshing.I have no idea how to develop such type of activex control.
View Replies
View Related
I’m building a intranet site and want to:
1)associate an desktop icon to a browser instance, i e, that icon opens the browser for, and only for the intranet site.
2) Once in there, unable the navigation activities, i e, unable the capability to get out of that intranet with that browser instance.
3)When called from the usual way guarantee the browser normal functionality.
View Replies
View Related