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...
User Profile
Collapse
Profile Sidebar
Collapse
Soniad
Last Activity: Dec 21 '11, 08:34 AM
Joined: Jan 14 '09
Location: Mumbai
-
How to modify ASP Session Cookie Path in ASP?
-
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" -
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%>" />
Code:<input type="Text" name="HidMessage"
-
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... -
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"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... -
Hi,
Instead of innerText,inner HTML works :
Code:document.getElementById("DivList").innerHTML= xmlHTTP4.responseText;
"D"Leave a comment:
-
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" -
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
"D"Leave a comment:
-
Soniad started a topic How to Retrieve Records of any other Date IF Current Date Record is not present?in SQL ServerHow 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... -
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
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 UsingCode:Response.Write()
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"... -
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"
Code:Dim myArray myArray = Array("doc","xls","jpg","gif")
-
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" -
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" -
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
Leave a comment:
-
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
-
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()
Leave a comment:
-
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.... -
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"
No activity results to display
Show More
Leave a comment: