The session variables worked like a charm. I just added code that you put in the last screen for final url page on the login_action page and set the Action of the form to a url session variable and it works great.
One more question though. Do i have to worry about killing the session...
I wanted to use the query string in the first place but i also have to send a password along wiht the username so i am a bit worried about security issues.
If i do use the querystring, how do i actually submit the form on the page that i am sendding the info to? I can get the values to fill the...
Here is the rest of the code.
<INPUT id="inpUser" type="hidden" size="1" name="operinit" value="<%=user%>">
<INPUT id="Submit1" type="submit" value="Login" name="Submit1">
Basically I am using this page as a login page that takes a username and gets a specific url from a DB to post to another login page and automatically login to that page/application.
Originally i was trying it with C# and aspx but that proved to be very annoying and to much work for what i...
Thanks Tony. Is there a way i can have the action set for the first submit of the form?
As you can probably tell i am not that familiar with ASP or vbscript so if i am doing this all wrong please let me know.
Kevin.
Hey there,
I have an ASp page that i am using vbscript with to set some values to hidden input boxes and post the form. I am having trouble getting a value from a textbox using the document.textboxID.value in my vbscript and i can't figure out why. Any help would eb greatly appriciated.Thanks...
Hey there,
I have a asp.net page in c# that i am accepting user input, username & password, and then sending that info to an older login page which contains hidden inputs for those values. How do i send, post, those values to the login page and then go to the next page of the app?
I have tried...
Does anyone know how to set causes validation to false when a datagrid edit/update/cancel linkbutton is fired? I have heard that it is done in the ItemCommand event but i am struggling to figure that out. Any suggestions?
Thanks in advance for any responses,
KF.
Sorry that was a bit vague.
I would like to get the file info, content type as well as file size if possible. I would like to enable a user to view and download the ole objects from an aspx page but that is proving rather difficult without the file info.
Thanks for any help you can offer.
Hi Everyone,
I have a image data type column that contains several different types of files, word docs, gifs, jpeg, pdf's and so on. In order to enable these files to be viewed through an asp.net page i need to know the file size and type. The db was created by someone else and this info was...
I have a colunm in a table that contains OLE Objects (word docs, pdf's, and picture files,tif's, gif's and jpeg's)and i would like to export them back to regular files. I am changing the current access database to SQL and would like to reference the location of these objects rather then store...
Is it possible to display a yes/no message box when a user clicks on a delete button column in a datagrid? Also can I access the value from that message box in the code behind file? I am having trouble understanding how to access javascript return values from the code behind pages, so if some...
Hi all,
I have created the sp below and for some reason it will not allow me to create the SP because it says that i have a syntax error near @UsedToCal.
I am relatively new at stored procedures and i can't seem to figure out why this is happening, any ideas?
The code is as follows:
Create...
Thanks jmcpher, that worked like a charm.
Can you explain why the cast would not work the first way, or is it just one of those things?
Love the quote.
mtl77
Hello,
I am getting the error "Specified cast is not valid" on the following line of code and i cannot see why:
int _totalRecords = (int) myCommand.Parameters["@TotalRecords"].Value;
@TotalRecords is a an output from a stored procedure from a sql db. It is an int.
Any...
Hi all,
I need to have a yes/no message box appear when a user click on a button to delete something. I know how to write the javascript for the message box but how do i pass the answer(yes or no) to my code behind file which is in c#?
Thanks in advance for your response.
mtl77.
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.