Here's the scenario :
I need to isolate session variables of my application when tabbed browsing on IE8.
I'd like to set an ID by tab using SessionStorage. How to access this ID from my ASP script code (server-side) ? Right now I'm using a cookie and reloading the page, but on cookie change and reload my server-code is executing twice.....
From what I've read (I've probably misread, that would be so typical...) PHP and ASP have almost the same features and are pretty equal when it comes to difficulty level.
I would like to learn one of them to start with - then I can always learn both...
My question is:
PHP or ASP? Why (example) PHP instead of ASP? What features does (a...
I had Managed SMTP server configurations in IIS to send email through asp as relay section I added My PC IP Delivery>Advanced I add My Domain name as mail.elarabygroup.com in smart host.
And I added this code:
<script runat="server">
protected void SendEmail(object sender, EventArgs e)
{
SmtpClient smtpClie...
I am very new to ASP and I have some small project to do, so I some help.
I need to write asp page that will read latitudes and longitudes from database and place markers on the map.
This is my current code
function initialize() {
// initialize the map
var latlng = new google.maps.LatLng(-25.363882,131.044922);
var myOp...
I'm sure this is something really simple that I'm overlooking, but MS SQL is new to me -- I am (or at least thought I was) fairly comfortable with basic MySql though.
SELECT l.link_id, l.link_allcount, d.desc_id, d.desc_count, d.desc_text, h.hour_17, dl.day_19
FROM lnktrk_links AS l, lnktrk_hourly AS h, lnktrk_daily AS dl
LEFT JOIN ...
The title says it all really. I want to get the type of a variable using vbscript.
Thanks.
...
Hi,
I have a page that contains an IFRAME with src to page 1 I then created a button on the parent page that switches the IFRAME source to page 2.
On Chrome when I hit the back button it directs me to the history page of the parent page instead of just redirecting the IFRAME content back to page 1.
Has anyone seen this behavior? does i...
I am trying to pass data to an ASP.NET based Web Service using the WSDL file containing the below:
<s:element minOccurs="1" maxOccurs="1" name="ContactId" nillable="true" type="s:int"/>
<s:element minOccurs="1" maxOccurs="1" name="GenderId" type="s:int"/>
<s:element minOccurs="1" maxOccurs="1" name="EthnicityId" type="s:int"/>
<s:elemen...
Hi,
We need to design one ASP.NET (2.0 or 3.5) page where outlook public calendars to which user has access will be displayed. Exchange server version is 2003.
Was such kind of development done in past? Do we have any material/documents on it?
We need inputs on,
1. How to get public calendars (shared calendars) to which user has acces...
I'm having a problem executing a command from a command line through an ASP script using the wscript.shell object.
Here is my code:
inPath = server.mappath("/connect/dev_f_fusion3/video/6EA63679C27E48538D79F7C7295201CF/6EA63679C27E48538D79F7C7295201CF.mov")
outPath = server.mappath("/connect/dev_f_fusion3/video/6EA63679C27E48538D79F7C7...
I have a website that's in Classic ASP on a hosted server. I'd like to be able to create some "virtual" pages so I can specify google-friendly URLs that translate to ASPs
eg www.mydomain.com/this_is_the_help_page
instead of www.mydomain.com/admin/helpsubsystem/help.aspx?current_user etc
As the server also supports ASP.NET - could I us...
I am using the following regular expression to validate e-mails, but it allows empty strings as well, how can I change it to prevent it:
^[\w\.\-]+@[a-zA-Z0-9\-]+(\.[a-zA-Z0-9\-]{1,})*(\.[a-zA-Z]{2,3}){1,2}$
I am using an asp:RegularExpressionValidator. My other option is to add on a asp:RequiredFieldValidator, but I am curious if th...
I have a website on IIS 6 which is configured as a subdomain such as "subdomain.site.com".
"default.asp" is configured in IIS as the only default page on the Documents tab of the Web Site. The "Enable Default Content Page" checkbox is also checked.
When I attempt to browse to just "subdomain.site.com", I get a 404 error. However, w...
Okay, pretty simple question. I think I need to drop in some escape characters, but I'm not quite sure where.
Here is the javascript function I'm attempting to call:
function setData(associateValue, reviewDateValue) {
var associate = document.getElementById("Associate");
var reviewDate = document.getElementById("ReviewDate");
...
Hey
I'm trying to create a strongly type html helper extension for a date picker using jquery ui datepicker. I have created an extension that isn't strongly typed, which works but now I'm trying to create it strongly typed.
Here is what I have:
public static MvcHtmlString DatePicker(this HtmlHelper html, string name, object date)
...
Dear all,
i have a scence:
when click into Link in my page
call webservices through jquery to get database
cooked result and insert into html and insert into using jquery
in cooked result i insert "" using thickbox to keep a parent page.
Result when i click html just generated, they just opened in a new window not get result like n...
I'm new to ASP (new job uses a windows server and I've only used Linux before) and I'm building a 'log' that stores it's data into XML files. I've got it reading the XML out perfectly but now I'm trying to get it to print out data from a specific range of dates.
The way I'm doing this is by using the DateDiff function to compare the dat...
Hello,
I would to protect a whole website with a basic authentication or by Ip addresses.
But the website in asp mvc already use form authentication.
I mean protect the website with a basic auth then once connected use the normal form authentication + DB system.
I want to prevent people and robot acces a website version not yet finish...
We're currently trying to integrate existing classic ASP pages into our new method of logging to the event log. We're achieving this by calling a .NET assembly exposed as a COM object which does the actual logging to event log. This all works correctly, however when we try to write to the event log we get an error "Cannot open log for s...
Hello
I moved some of my old asp pages to new aspx website.
In all of the old pages i used (for file example.asp):
Response.Status = "301 Moved Permanently";
Response.AddHeader("Location","http://www.domain.com/example.aspx");
The problem is that when the page domain.com/example.asp?param=value¶m2=value2
is requested - the redi...