Where Does My Local Cookie Hide And What's It Called ?

I'm running my script locally and the cookie has been saved on the machine because the login page is by-passed (with the Redirect to "menu.asp" below.

OK - but where is my cookie stored? Or at least give me clue. What will the cookie be called and what text will it contain if:

iAuthorID = 1
iSecurityLvl = 3
uName = "barny" ?

The machine user is "flintstone" and machine name is "W2KPro". The CookieName will be "mABmyASPBlog" ....

View Replies


ADVERTISEMENT

Whats The Best Browser For Mac OS X?

whats the best browser for mac OS X?

View Replies View Related

ASP & ASP.NET Whats The Difference?

A few weeks ago I was told in this forum that ASP would be a great solution to a large web site. I purchased a book about ASP.Net but have also seen info on ASP. Can you please tell me what is the difference between the two?

I don't know computer programming at all. Dreamweaver MX is the program I use. Can ASP be done with a WYSIWYG program? I have set up databases in Access & built web sites with DW MX I am not sure how to tie the two together.

View Replies View Related

Whats Asp's Equivilent To PHP's 'extends'?

I want to be able to do the following, but im not sure how in asp.

<?php
class Cart {
var $items;

some functions.
}
?>

<?php
class Named_Cart extends Cart {
var $owner;

}
?>

View Replies View Related

Whats All About Bound Checking?

How can I make such a bold statement? Two words: Buffer Overflow.

In the very first class I took in programming (those many years ago), we were berated class after class about proper bounds checking to prevent buffer overflows. What this means in simple terms is that every time my program asked the user for input, it had better check to make sure the input fit in the place I reserved for it. If I asked for a ''Y/N'' and I got a ''yes'' or a ''no'', those extra characters had to go somewhere and I had better be prepared for them.

View Replies View Related

Whats The Transition From Access To...

It sounds like you are looking at the properties of the WebSites main branch, when you need to look to the first element under this branch (opening it) to the next "step down", and check the properties of the child element (mine is called "default web site", but yours perhaps has been changed from that).

It also contains an "advanced" button on the Web Site tab (right next to the "IP Address" field) which allows "multiple" identities, which is the part which I couldn't to work with 100% consistency.

View Replies View Related

Detect Whats In A String After A Character

i have a browse button on a web form that the user can upload images via ftp. the user clicks on the browse button to browse a file on his computer and the text field displays the path - "mycomputerdesktopmyimage.jpg".

i need to get the name of the image and insert the name into my database. so i need to be able to search the string ("mycomputerdesktopmyimage.jpg") and insert all the characters after the last "" which will give me the image name. ive tried just writing out the string in asp (jscript), but it gives me "mycomputerdesktopmyimage.jpg" without all the backslashes.

how do i get those backslashes back into the string? my second question is how do i search for the characters after the last backslash? i know i can use a substring on this, but how can i use it for the last backslash?

View Replies View Related

Whats The Difference Between Access And MSSQL?

I've done several sites with ASP that use an Access database, and it has worked fine so far. I will be developing a much larger site and I need to know if Access just isn't going to cut it anymore.

Is MSSQL what I should use instead? How much is too much for an Access database? What are the differences in coding for something besides Access? (is it just in the connection string, or what?)

View Replies View Related

If Checkboxes Not Selected Then Show Error, Whats The Best Way?

I have a form and if none of the radiobuttons are selecte or any of the txt fields are empty i want it to display an error, also if the entry in a txt field is not numeric i want it to display an error, if there are no errors then i wanted to display a message

what is the best way of going about this??

View Replies View Related

Global.asa :: Is Not Being Called

My global.asa is not being called.. any idea what may be the problem

View Replies View Related

Error While Dll Is Being Called From Asp

I am getting the below error when i am calling function of dll in my asp page.

Microsoft VBScript runtime error '800a000d'

Type mismatch: 'GenerateWelcomeLetter'

/cgi-bin/Anagram_Utils/welcome_letter/generatedoc.asp, line 72

dim a
a = false
a = welcome.GenerateWelcomeLetter (qry,template_filename, save_filename)

The function in dll is having boolean as the return type. Can someone plzzz tell me what can be the problem. I am using dll for the first time in asp.

View Replies View Related

Called By Ajax

My web site HTML comes from a database via querystring e.g. page.asp?pid=55. I have a separate asp search page, search.asp. Its output is retrieved by an ajax call from page.asp and its HTML is then neatly wrapped and styled by page.asp.

I want search.asp to recognise if it is not being called via ajax frompage.asp, but directly e.g. via the address bar (and if so, redirect to page.asp). Do I need to put something into the posted string, or (better) is there an asp method that can do this?

The ajax call is
function GetSearchPage(st) {
var poststr = "searchterm=" + encodeURI(st);
makePOSTRequest('/search/search.asp', poststr,'divFullSearchDisplay');
}

View Replies View Related

Operation Called

I don't know the exact operators, but it's something like:

a?b:c

Which translates to:
If a = TRUE then
return b
else
return c
end If

I need this for an ASP script.

View Replies View Related

Called Function Has Finsihed

I have the a function which creates a table of search results from a paramater passed from the page Request as shown below..

<%
GetSearches(unescape(Request("serialNumber")))
%>

Is there a way to detect when this function has finished execution as i want to page a page loader on the page until all the HTML is build and ready for rendering? I have the page loader in a div so when the above function finishes i would like to disable or hide it via Javascript. That bit is fine it's just the how to send a call to the Javascript so the DIV can be hidden is the problem.

View Replies View Related

Page Called Logout.asp

I have a logout button for my admin system. I really need on logout, to go back to the login page. This is fine but I also need the session set to false. I could do this via using a secondry page called logout.asp, and place inside that something like session.abandon and a response.redirect. But I do not wish to have a secondry page.

View Replies View Related

OnSession_End Not Called Everytime

my web application has user name and password, whenever user logged in i set his status in database as 1 so that only one user can logged at one time with same login and i
write a code to set status to 0 on logout menu, but if session expired then status will remain 1.

i have written code to set staus to 0 in onSession_End sub but it not work all the time. Sometimes it works and sometimes not. So i m looking for an alternative way of doing it

View Replies View Related

Response.cookie In Session_onstart Event And IE 6.0 Cookie Acceptance

When I set a cookie in global.asa in the sub session_onstart, even if
I have "privacy" in IE 6.X set to "block all cookies" the cookie is
still set, and I can get it on other pages.

I can't find an article that addresses this as a specific issue. Why
does the browser get the cookie when it is set in the session_onstart
event even when I have "block all cookies" set?

View Replies View Related

.asp File Called In A Blogger.com Template?

I have an .asp file that generates a nav menu.

I have tried and tried to "include" this in the blogger template, so that I can update the menu dynamically, without fiddling with a cumbersome blogger template all of the time.

The question is, does anyone know how I can "call" this file in to the template successfully?

I have tried using <script> tags: something like:

<script type="text/javascript" src="http://url.com/menu.asp"></script>

But had no success.

Does anyone know how I can accomplish this?

View Replies View Related

Error When Some Stored Procedures Are Called In A Classic ASP Page

When some of the SQL Server stored procedures I have written are called via
my Classic ASP page I have written I get the following error in the cell that
is supposed to be retrieving a single result:

"ADODB.Recordset error '800a0cc1'

Item cannot be found in the collection corresponding to the requested name
or ordinal.

/Default.asp, line 130"

I have no idea why this could be occuring. Some of the other stored
procedures work just fine. Any one have any ideas?

View Replies View Related

Rolling Back Timed Out Stored Procedure Called From ASP?

I don't know if this is a truly esoteric question, or not, but I'm
wondering how (or even if) you handle a timeout on a transaction
within a stored procedure executed in a Stored Procedure?

A theoretical example of the stored procedure (sadly, I'm not allowed
to post the actual code):

Create proc sp_testproc @myval int, @outval int OUTPUT as

begin tran

select top 1 @outval= myname from mytable where recid = @myval

update mytable set myname='xxxx' where recid = @myval ...

View Replies View Related

Data Feed Called By Javascript From Affiliate's Server

This is a mix of technologies so I hope I've put this in the right place.

I have a system where people can sign up to a data feed. They place a single line of Javascript on their web page and a formatted banner of products is displayed based on the options they have chosen in their affiliate account.

<script language="Javascript" src="http://www.somewhere.com/feed.asp"></script>

The original system was built by our developer 3 or 4 years ago, and worked fine. However, he built the system using two ASP files - feed.asp which looks like this:

Code:

View Replies View Related

Session Cookie Vs. Regular Cookie

I want to know what's the differences between session cookie and regular cookie.

In ASP, when we create cookie, we do the following to identify an user:

Response.Cookies("name") = value

Is this regular cookie? How about session cookie? and when to use which?

View Replies View Related

Whats The Exact Error For "system Cannot Find The File Specified"

i get "system cannot find the file specified" error. iam sure that the path of file iam looking for is true. i guess this is a friendly message thrown. when i turned off the freind messages in IE (client side) i still get the same error. is there any way that i can see the exact error so that i can debug.

View Replies View Related

Hide Until

I want to hide a submit button until all parts of the form are completed, the form contains 7 rows of radio boxes which are in groups(5 in each grp) when all are selected i want the button to appear but the page not needing to be refreshed, any ideas?

View Replies View Related

How To Hide

I migrated a mysql DB into a MSSQL DB. In this DB all chars like "blank"
or @ are encoded in...whats it called in english? :)
you know, when a blank is "+" or @ is "%40"... :)
How do I resolve those "%20"s back into a readable character or a blank
with asp?
Plus: How do I convert blanks into + again to write them back into the DB.

View Replies View Related

Hide The Value

i m passing value through href link.
like this
Code:

<% while not rs.eof
%>
<tr><td style="font-weight:bold">::</td><td ><a href="<%=rs("newsurl")%>&id=<%=rs("newsurl")%>" style="font-family:sans-serif;font-size:12px"><%=rs("headline")%></a></td></tr>
<%
rs.movenext()
wend
%>

and this value appers in address bar.any way to hide this whole value in address bar

View Replies View Related

Hide The Values

I have an Invoice.asp page which displays the number of products ordered by size. I would like to make the 0 values invisisble on the page. Can any1 help?
Below is some code that applys what i would like to do this using text fields.

<%
If O("S4") = 0 Then
txtValue4 = ""
Else
txtValue4 = O("S4")
End If
%>

<input name="textfield4" type="text" value="<%=txtValue4%>" size="1" maxlength="3">

"O("S4")" is the recordset name and "txtValue4" is the initial value of the textfield.

Does anyone know how to alter this piece of code so that it applys to only the recordset "O("S4")" and not the textfield, alowing me to get rid of the textfields?

View Replies View Related

Best Method To Hide

What's the best method to hide, or not show a certain record when doing a pull from a database, as in I am pulling a list with a dozen category's and I don't what to show one of them.

View Replies View Related

Hide Code

Is possible to build a old ASP application in order to give to final user an application that hide its code?

View Replies View Related

Hide Drop-down Box

I need to hide a drop down box. For a car search page, if the user selects "NEW" the mileage drop-down dissappears, but if the user selects "USED" than the mileage drop down appears. I need this on the server side, so I would be needing to use VBScript.

View Replies View Related

Hide Hyperlinks

Can anyone provide the code to hide hyperlinks (change to background colour?) if the files they link to do not exist?

View Replies View Related

Hide ASP Or Php Code

How can i make sure my ASP code is hidden on my web server when soebody accesses the ASP page? I want to do all I can to protect against this. The other day I was at a web page and instead of seeing the results of the page, the entire page was displayed to me as text and you couldd see all the asp code.

View Replies View Related

Hide Your ASP Code

Is this posible? You wrap a javascript function around all of your ASP code, link it externaly, and simply call your function later. I wonder if this could be done?if yes, how about the performance. Does it stay the same?

View Replies View Related







Copyrights 2005-15 www.BigResource.com, All rights reserved