Sessions On WIN2K Advanced Server

I am trying to debug an issue with sessions in my ASP 3.0 web
application, which runs fine on WIN2K Pro and WINXP Pro, yet fails to
function correctly on WIN2K Advanced Server.

My actual application is using sessions to store username, and security
level (permissions) for my application. The default.asp page is the login,
where these values are set. I have triple and quadruple checked my IIS
Settings to make sure "Enable Session State" is checked, and the
session.timeout is set to 120.

Now if I remove my application, recreate it
in IIS admin, stop and start the IIS services, and run my application, the
session variables seem to be saved across the first redirect to my
main_menu.asp page. Here I have several menu choices, which are dependent
on the session("seclevel") to determine which they can or cannot access.

Here is where it seems my session vars are lost, since when I click on any
choice, I get redirected to the log_out.asp page, which abandons the session
and returns the user to the login (default.asp) page. Code:

View Replies


ADVERTISEMENT

ASP On Win2K Server

Our web server crashed and I had to move all web sites to backup server.
Installed Internet service and it appears to work OK on html files, but ASP
files are not functioning - what is wrong? I have lost so many brain cells
that I need a fresh mind to see the obvisous.

Did I miss installing something?

View Replies View Related

Firewall For Win2k Server

do you know any trial software which i can use a firewall? i want to try trial software first before purchasing it.

View Replies View Related

File Uploading Via A Webpage On A Mac To A Win2k Server

I was wondering if there are any known problems when using an apple macintosh to upload files and put text in a database via an ASP page that could cause either database error pages or simply some data not being written to the database. I have had this problem on a couple of sites now, and not been able to recreate the errors on my PC.

View Replies View Related

Advanced Server Side Form Validation Tutorial

Can anybody point me to a good tutorial/manual on advanced server-side form validation including validation of fields against unwanted strings such as the use of "http://".

View Replies View Related

Server Farms & Sessions

Has anyone used any session replacment components for use in a server farm environment?
I've seen the XML COM+ Session replacement object. Has anyone used it? With success? Any alternatives?

View Replies View Related

Database Calls, Server Transfers, Sessions, And Cookies

Any body know of a resource that compares/benchmarks the expense (in terms of milli seconds, or server load) of using various programing options?

I know a lot of articles and forum posts reccomend best practices between functions and programming options, but I would be interested in some type of definitive benchmark to decide between various prgramming options, depending on the need.

For example, I can call a Recordset and quickly write it into an array, so that the connection can be closed even before I write the data to the HTML page. This would save conection time and server resources, but I'd like to be able to judge the worth when considering coding it.

Every time I do a Server.Transfer how expensive is it to the server? How much am I loading the server with Session varaibles? If I store some info in a cookie, but have to call it, how long will that take? Am I using up server resources by creating large arrays?

View Replies View Related

IE DOES NOT SUPPORT COOKIE On WIN2K And XP

Please observe the pages below:

session1.asp

<%
Session("test")="TESTING"
Response.Redirect "session2.asp"
%>

session2.asp

<%
Response.Write Session("test")
%>

Those pages does not output any thing if I use IE and If I access the pages
from machines running Windows 2000 Server, XP or Windows NT Server. Opera
outputs as per session variables name.

IIS server is running Windows 2000 server. I've checked the cookie settings
which was set to accept cookies.

I tried IE 5.0, IE 5.5 and IE 6.0

What could be the fix?

View Replies View Related

Wscript.shell Win2k

For win2k adv server/iis5.0 trying to run an external program from my asp routine that has multiple
parameters, see following.

set shell = server.createobject("wscript.shell")
shell.Run """f:phsDatahtmldochtmldoc.exe"" --webpage -f phsnew.pdf
phsnew.htm"

program either doesn't get invoked, or has an error, but since it has no error log i can't check that, so not sure why not getting a result i have run the program successfully from the command line in that directory, so know it can be run in the first place and the asp program creates and writes files in the same directory so i don't think its a permission problem. asp doesn't complain with any errors.

View Replies View Related

Win2k Asp Connection To Data Source On Unix

i'm trying to use an odbc driver to connect from an asp page to a data source (dbase) on unix sunsolaris. is this poss?

the driver is installed though i cant seem to do it through dreamweaver ultradev - can i do it through the ftp connection?

what would i input as the source on the following to initiate the connection in the asp page?

"Provider= "MSDASQL"; Data Source= server name ?
"Database=test;User ID=sa;Password=blabla"

or how would i do it using the followign as an include file ? Code:

View Replies View Related

Looking For Advanced Cart

my company is in need of a shoppingcart that has adavanced inventory management in the admin, i.e. calculates 'cost of goods sold' in reports and FIFO etc. Anyone know of any?

View Replies View Related

Advanced Search

Is there any resources (code, samples, snippets, methods etc) anyone knows of creating an advanced search in ASP linked to a microsoft Access 2000 database?

I basically want to query a database from attributes stored, e.g male, height etc using radio buttons and a text input form.Im using Dreamweaver MX and a DSN.

View Replies View Related

Advanced Paging

I already have the code which does simple paging [First] [Prev] [Next] [Last] . how to achieve the [...] feature?? That is if there are 1000 pages, I don't want to display the page link for all the 1000 links in one go. I want only the first 10 page links to be shown on one page then display [...] for the user to click and see the next 10 page links.

I have been searching for this feature for a long time but most of them talks about the simple paging only. Useful links and complete source codes.

View Replies View Related

Advanced CDONTS

I have had a project on my plate for months with noone who knew CDONTS enough to help. I do not believe there is anyone better to ask than you. Here's my problem. I use CDONTS on 2-2k servers with the basic SMTP server included with IIS. Because of the corporate firewall I am unable to use this method to send email to an external email account.

What I need to do it use CDO 1.2 and attach to an outlook application on the server which has access outside our network. My problem is every tutorial I find seems to be wrong and noone seems to know how to make this happen.

View Replies View Related

Advanced DHTML Dropdown

Advanced DHTML Dropdown List component (Javascript,ASP,.NET,PHP)
enhances usability of large dropdown lists with type & select feature.
It suggests possible matches for entries you type in the input box.

View Replies View Related

Creating An More Advanced Search

I'm trying to create a search on my asp form that will ingnore spaces, and, or and replace them with % for a wild card search. now if they type in the box Go Home it will only find Go Home. Right now I'm just trying to get it to take that Go Home and put it in Go%home.This is what I'm using for this field.

pcat = GetParam("category")
if not isEmpty(pcat) then
if not (sWhere = "") then sWhere = sWhere & " and "
HasParam = true
sWhere = sWhere & "e.category like '%" & replace(pcat, "'", "''") & "%'"
end if

Everything i've tried doesn't seam to work.

View Replies View Related

Advanced MS Access Table

I need some help with creating an MS Access table using ASP. I'm familiar with "standard" SQL statements, and also with the ASP methodology/syntax for creating a simple MS Access table. However, the table I need to create is a bit complicated, because:

The primary key is a FORMATTED auto number (i.e., if I were to define this field directly in MS Access' "Table Design View", I would put "Acme-"000 in the FORMAT field to create an autonumber that automatically generated a series like Acme-001, Acme-002, Acme-003, etc.)

The first part of this formatted autonumber is a variable. So, with this in mind, how do I write an ASP statement to create a table that has an autonumber field as a PRIMARY KEY, formatted per the above?

View Replies View Related

Advanced Conditional Statement

URLURLI need help writiing an advanced conditional statement.I want to display an image if two recordset values = 1 or other various number combinations.

This statement works with one, how could I edit this statement to include two recordsets values? Say I want to add another feild say "recent" to this statement and it has a value of 2

Code:

<% if Recordset1.Fields.Item("progress").Value = 1 then ' Adv Conditional Region %>
<% end if ' Recordset1.Fields.Item("progress").Value = 1 %>

View Replies View Related

Advanced User Management

What I want to do, is in my admin page, where I have all the users details, I want to be able to see when they last logged in, how many times they've logged in, and which user's are currently online? Just so that it can be used for reference, and also as a sort of extra security.

Also, is there any way that I can make the login more secure? At the moment, it only uses Sessions, is there anything else I could do to make it more secure?

View Replies View Related

Start A New ASP Advanced Forum?

May I boldy suggest that a new advanced ASP forum is created (ideally within the "Advanced Development Center", but otherwise as a sub-forum of this forum) for ASP questions and discussions which are more challenging/complicated than the norm? Code:

View Replies View Related

Creating Advanced Search With ASP

Imagine you have a databse memo object with the description of a town.

Imagine if you wanted a peaceful town, you might type "peaceful" in a text
box and then click submit, the query run will be:

WHERE towndesc LIKE '*" & Text32 & "*'

Now imagine if they type "peaceful trees"

How do you get it to automatically check:

WHERE towndesc LIKE '*peaceful*' AND towndesc LIKE '*trees*'

Because it can have one description or the user can enter 5.

Or maybe you want the user to be able to enter key words like AND OR
and use them within the query.

View Replies View Related

Advanced Email Validation On Extention Values?

if there is a way to validate email addresses further. For example I just received an email from this person:-

cvx@fcxgf.fgfd

Obviously some fool trying to f**k with my form and send me a test email.

Because an array of countries have different extentions, can I not somehow validate for that?

I guess my validation is picking up on the @ symbol and the fact that some chars are needed before and after the @ symbol and a dot exists. But can we validate this further to prevent me getting this kind of email?

View Replies View Related

Sessions To Database Sessions

We are planning to set-up a load balanced web environment. Accordingly, we are going to change the session management on our website from the classic ASP Session State and session variables, to a database method.

Does any one have any pointers as to how I might approach this, so that I can have the same sort of functionality the ASP sessions give without having to create database columns for each session variable I wish to create. I am thinking along the lines of some serialised dictionary or something that I can stick in a blob column.

View Replies View Related

"advanced" Order By

i am making a forum, im the database i have a row called 'TopicLastPostDate' and 'TopicCreated'. 'TopicLastPostDate' only adds the now() value when someone posts a message, and i can't put the 'TopicCreated' there as well when im posting the topic as it checks if 'TopicLastPostDate' got any data to then add a data of last post in the topic list. can i use ORDER BY on 2 different rows? (both 'TopicLastPostDate' and 'TopicCreated'),

View Replies View Related

Sessions

Can someone explain to me how you set a session and how you check the session?

View Replies View Related

Sessions

I created a session variable in an asp page as below:

Session("userid") = userid

is it possible for me to read that same variable "userid" in a seperate perl script? if so how?

View Replies View Related

Sessions In ASP

I have session time by default as 20 mints in iis.

I want to that to be increased by 60 mints in my application so that when user save changes after 21st mint the session should not be lost.

Can this be happen without changing the default time in iis since i have many other applications.

View Replies View Related

End All The Sessions

Any one know how to end all the session in asp application. Is there any other directive rather than '#include' to include a file in our Asp page.

View Replies View Related

Sessions

I was wanting to know if you could have a function within a session?Example:
Code:

<% Session("Message") = MyFunction() %>

Is that possible? Ok, maybe not "is it possible" but can you use the session message to dictate where the function outputs its data? Here's why I'm asking. I have an online testing app that when a person selects the wrong answer the correct answer (along with a bunch of other stuff) will be displayed on the page.
I'm getting it to display the correct answer and the other information, but the correct answer is at the top of the page screwing up my layout and the other information is doing what it should.

View Replies View Related

Ssl And Sessions

I am using an HTTPS connection and posting to an asp page that does a
redirect based on if the user is authenticated.

However, for some reason after the session is set and the user redirect
the session dies and the user logged out?

Any ideas?

The redirect looks like Response.Redirect "../welcome.asp".

View Replies View Related

ASP Sessions

I am using ServerXmlHttp in a client-side component to basically talk back to the Server within a webpage. I would like to be able to cache some information on the server so that when I callback, I do not have to reconstitue everything that I did for the intial request. However, the Sessions are different.

Is there a way to get the ServerXmlHttp session to impersonate the IE client session? Code:

View Replies View Related

Sessions

can any one tell me how to use sessions in asp for 2different users please?Is it straight forward? Never used them before, a friend said it is worth doing

View Replies View Related

Sessions And SSL

I'm trying to use a couple of Session variables within SSL.
My form submits to the same page and this is at the top of the page.

<%
Session("ShipAhead") = Request.Form("ShipAhead")
Session("Comments") = Request.Form("Comments")
%>

The form fields are populated but the Sessions are empty on my next page.
Am I missing something? Is there a problem with Sessions and SSL?

View Replies View Related







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