Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations SkipVought on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Search results for query: *

  • Users: Lambro
  • Order by date
  1. Lambro

    Convert VBScript to JavaScript

    if I'm using langauge JavaScript, how do I use this: <% Session("varname") = request("var") %>
  2. Lambro

    Session

    This is my objective. On a server at one of my companies, I have a login page running on the webserver their. I have my website host on a server in another building. On that website, I have people that login to their profile and they have a link to get to the other server to login. That login...
  3. Lambro

    Session

    On a hosted web server I have asp pages that when I login it stores a session throughout the website until the session is killed. What I am trying to do is keep a session alive while going from one web server to another. So let's say I login on my website and it creates a session. On my website...
  4. Lambro

    Convert VBScript to JavaScript

    Both ways gave me: Microsoft JScript runtime (0x800A138F) Object expected
  5. Lambro

    Convert VBScript to JavaScript

    One the top of the page I'm trying to add some code is: <%@language="javascript"%> The code I'm trying to add is: <% if not session("userinfo")="" then %> xxxx <% else response.redirect "http://www.advancedcontrolsolutions.com/sessionexpired.asp" %> <%end if%> It keeps erroring out by...
  6. Lambro

    Language Used

    One the top of the page I'm trying to add some code is: <%@language="javascript"%> The code I'm trying to add is: <% if not session("userinfo")="" then %> xxxx <% else response.redirect "http://www.advancedcontrolsolutions.com/sessionexpired.asp" %> <%end if%> It keeps erroring out by...
  7. Lambro

    Image Slideshow from database

    Perfect, thanks!
  8. Lambro

    Image Slideshow from database

    I need this script, after it shows the second image to stop and keep showing only the second image until the user exits the page. Is this possible?
  9. Lambro

    Image Slideshow from database

    Perfect!
  10. Lambro

    Image Slideshow from database

    I have a javascript that reads a recordset that has 2 images stored in it: <script> // Set slideShowSpeed (milliseconds) var slideShowSpeed = 5000 // Duration of crossfade (seconds) var crossFadeDuration = 3 // Specify the image files var Pic = new Array() // don't touch this // to add more...
  11. Lambro

    Image Swaping

    I have a database that stores the image name. The images are stored in a directory called img. In the database table images, I have fields image1 and image2. What I want is to display these images on a page. I want the script to check the database to see if there's image1, if so display it. If...
  12. Lambro

    Pad Right

    This is what I had: iCheckNumber = Pad(Replace(CStr(Request.Form("CheckNumber")), ".", ""), 9, "0", True) This works perfectly: iCheckNumber = Pad(Replace(CStr(Request.Form("CheckNumber")), ".", ""), 9, " ", False) All I had to do was replace the "0" with " " And True to False
  13. Lambro

    Pad Right

    I have a function which puts zero's in front of my data. The number of zero's is based of the length I specify. Here's the function: Function Pad(strText, nLen, strChar, bFront) Dim nStartLen If strChar = "" Then strChar = "0" End If nStartLen = Len(strText)...
  14. Lambro

    Overwrite image in Access Database

    is there an example of uploading a image to the server and storing it's path. Then retrieve it to display it.
  15. Lambro

    Overwrite image in Access Database

    I have an MS Access database that sotres images. The fields are as follows: Field Data Type Example Data FileData OLE Object Long binary data FileSize Number 21024 FileName Text building.jpg ContentType Text image/pjpeg...
  16. Lambro

    Temp Password

    I have a user name and password login that uses a MS Access database. I want to know if it is possible to have a password expire in a certain time period. Say I change the password in the database and it records a timestamp. And I want it to expire 24 hours from the timestamp. Is this possible...
  17. Lambro

    Blank Field to be defaulted to 0.00

    I have a payment field on a form that is numeric only allowed. The default value of the field is 0.00 If I enter a dollar figure in then I decide to clear it out then the field will be blank. How do I always keep 0.00 in the field only if it's blank. I used an onblur but my code won't work...
  18. Lambro

    Format Date With AM PM

    I need to fix this code to display the date as 2000716 instead of 071604: Function DateToString(xx) Dim dd, mm, yy xx = Request.Form("PaymentDate") dd = ZeroFill(Day(xx),2) mm = ZeroFill(Month(xx),2) yy = ZeroFill(Right(Year(xx),2),2) DateToString = mm & dd & yy End Function
  19. Lambro

    Security Question

    I have a form that collects checking account information. After collecting the information and pressing the submit button, it stores this info in an Access database. What is the best way to protect this info at the page level and database level? Would using SSL to protect the asp pages be fine...
  20. Lambro

    Format Date With AM PM

    Thanks for the help, and no AM and PM are not neccessary for military time.

Part and Inventory Search

Back
Top