User Profile

Collapse

Profile Sidebar

Collapse
Soniad
Soniad
Last Activity: Dec 21 '11, 08:34 AM
Joined: Jan 14 '09
Location: Mumbai
  •  
  • Time
  • Show
  • Source
Clear All
new posts

  • Soniad
    started a topic How to modify ASP Session Cookie Path in ASP?

    How to modify ASP Session Cookie Path in ASP?

    Hello,

    I am running an ASP application.I need to change the path of session cookie which gets created when ASP application is run in the browser.
    Since,By default,Cookies gets stored in local machine.
    I want to store the session cookie in defined path on server.
    I can modify path of user defined/created cookie.But unable to modify session cookie path.
    Somehow i managed to store session cookie on given...
    See more | Go to post

  • Soniad
    started a topic How to maintain history.back() in AJAX?

    How to maintain history.back() in AJAX?

    Hello,

    I have created a module in ASP using AJAX.Now, everything is working properly.But the problem is when clicking on Back Button ,History is not maintained. On Clicking On Back button ,I want to display the details on page which was previously viewed.How to do this??

    Regards,
    "D"
    See more | Go to post

  • Soniad
    replied to On Load Submit is not working in FF ?
    Hi,

    Finally after a long try, this issue has been solved.
    Instead of using Hidden field ,If I put that message in input filed of type "Text" it works. Both in IE And FF.
    Instead Of This line :
    Code:
    <input type="hidden" name="HidMessage" value="<%=StrDispMsg%>" />
    I Wrote This Line:
    Code:
    <input type="Text" name="HidMessage"
    ...
    See more | Go to post

    Leave a comment:


  • Soniad
    started a topic On Load Submit is not working in FF ?

    On Load Submit is not working in FF ?

    Hi,

    I have ASP page,Say "page1.asp" .
    Ater filling proper information,whe n "page1.asp" is submitted ;it goes to "page2.asp" .
    On This "page2.asp",onl y VBScript Coding is done (DB Related).
    Now,On "Page2.asp" after VBScript coding is done ,I have taken a message into hidden field (that needs to be displayed on "Page1.asp" ) And written script at the...
    See more | Go to post

  • Hi acoder,

    I tested that page again carefully.And noticed that, the page was getting submitted.
    Hence, when i wrote "return" before calling function in onclick event,it worked.

    Regards,
    "D"
    See more | Go to post

    Leave a comment:


  • In firefox ,on return false wrong tab is getting activated?

    Hi,

    I have ASP page where there are three tabs,each showing different content.
    Each tab have cancel button and save button.
    If validation is proper; then,
    Save button submits the page.Otherwise, returns false.
    Now,After validation , the tab which is actually activated willl be as it is after returning false.
    This is working fine in IE.
    But in FireFox,
    If first time,the tab which...
    See more | Go to post

  • Hi,

    Instead of innerText,inner HTML works :
    Code:
      document.getElementById("DivList").innerHTML= xmlHTTP4.responseText;
    Regards,
    "D"
    See more | Go to post

    Leave a comment:


  • Soniad
    started a topic How to give OnClick event on IFrame

    How to give OnClick event on IFrame

    Hi,

    I have an iframe where data is fetched from other site.Now,I want onclick event on iframe such that,when cliked on iframe it will get redirected to given link.

    Any suggestion...

    Regards,
    "D"
    See more | Go to post

  • Hi Rabbit,

    Thanx.yes now it worked.By taking the last date in subquery.

    Code:
    Select * From Tbl Where DtDate = 
    (Select  Max(DtDate)  From Tbl)
    Order By ColID
    Regards,
    "D"
    See more | Go to post

    Leave a comment:


  • How to Retrieve Records of any other Date IF Current Date Record is not present?

    Hi,

    In my website, I show commodity details on daily basis.These details are stored in one table for each day.
    I select record by matching current date and current date records are displayed.but there me cases when some day details are not updated.
    Hence, I need query where if current date record is not there then it should fetch records of any other date for which record is present.
    I could do this by showing...
    See more | Go to post

  • Hello,

    Ajax Function :

    Code:
    function FnGetFileList()
    {
        xmlHTTP4=null;
        try{xmlHTTP4 = new XMLHttpRequest();}catch(e){try{xmlHTTP4 = new ActiveXObject("Msxml2.XMLHTTP");}catch(e){try{xmlHTTP4 = new ActiveXObject("Microsoft.XMLHTTP");}catch(e){alert("Your browser dont support Ajax..");return false;}}}
       
        var url,returnval; 
        url
    ...
    See more | Go to post

    Leave a comment:


  • Ajax function also loading HTML /JavaScript Code

    Hello,

    I am using ajax to get details from DB.The page where I have written DB queries has include files containing and JavaScript variables defined in it.After fetching the required data I wrtite it Using
    Code:
    Response.Write()
    Statement.
    So,In my ajax function,It not only gets written Output but also the other contents of those include pages.
    And I need only the written Ouput of that page.
    I tried "innerText"...
    See more | Go to post

  • Check Item in VBScript Array without splitting array

    Hi All,

    Is there any way in VBScript Array,where I can check if particular item is present in given array items.
    For Example :

    There is file extention I want to check.
    Code:
      Dim StrFlExt
      StrFlExt = "doc"
    and here is array of file extensions :
    Code:
      Dim myArray
      myArray = Array("doc","xls","jpg","gif")
    ...
    See more | Go to post

  • Soniad
    started a topic Clear Request.Form Collection values

    Clear Request.Form Collection values

    Hi,

    I want to know, Is there any way in VBScript to clear forms collection values.So that,when I refresh page using "F5" or "Refresh" button;The page should be displayed fresh.The values stored in Request.Form collections should not be displayed.

    Regards,
    "D"
    See more | Go to post

  • Soniad
    started a topic Open Excel File Directly From ASP Page

    Open Excel File Directly From ASP Page

    Hi,

    I want to open an excel file from ASP Page, direclty.
    Means, Now I can open excel file on onclick by giving its path. But,it's prompting a dialog box with "Open/Save/Cancel" Option.

    I dont want these prompt.I need it to open directly in new window without asking these options.

    How to do this?


    Regards,

    "D"
    See more | Go to post

  • Code:
    <%
    ' REDIRECTS TO PAGE AFTER COMPLETING PROCEDURE 
    ' ****************************************************************************         
    SUB RedirectFunc() 
      
    '    Response.Write(StrType&"<BR>") 
    '    Response.Write(StrTable&"<BR>") 
    '    Response.End()  
    
    '	----------Error AT THIS LINE----------
    	Set cnnExcel = Nothing
    ...
    See more | Go to post

    Leave a comment:


  • Soniad
    started a topic DropDown List for yearwise months

    DropDown List for yearwise months

    Here I have created simple dropdown list that shows months for every year.
    U can initialize the year from where u want to start.
    I have started from year "1999".

    Similarly,
    U can use Following example to display list of animals in certain category OR List Of items in certain Product,Etc.

    Here is the Code :
    Code:
    	<%
    	Dim StartYear,TillYear,StrCheck
    	StartYear
    ...
    See more | Go to post

  • Hi,

    Here is rough part of code :

    Code:
    <%
    
    'PUBLIC OBJECT DECLARATIONS
    Dim cnnExcel,rstExcel,LoopExcel,StrType,UserFilePath
    
    UserFilePath = Server.Mappath("filename.xls")
    
    ' FUNCTION TO CONNECT TO AND RETREIVE DATA FROM EXCEL FILE ON SERVER
    ' ****************************************************************************	
    FUNCTION ExtractEls()
    ...
    See more | Go to post

    Leave a comment:


  • Soniad
    started a topic Access Function Objects Outside Function

    Access Function Objects Outside Function

    Hi,

    I have created a function which connects to excel DB and fecth records from excel file.
    Now, I access this function in a SUB routine.Everyth ing is fine ,but after doing the process I want to free the objects (used in function).When I access this object and set to nothing then I get error message that "object required".
    Even I have declared the objects using DIM on top of the page.but not working....
    See more | Go to post

  • Soniad
    started a topic Excel File and FileSystemObject

    Excel File and FileSystemObject

    Hi,

    I have created a page that browses excel file and another page that should retreive specific column values from this file.
    Now, this file comes from local computer.So, how to retrieve specific columns values using "FileSystemObje ct" from it and then store it in SQL table in specific columns.
    Any sample code will help me.


    Regards,

    "D"
    See more | Go to post
No activity results to display
Show More
Working...