Managing Sessions
I am hosing website using ASP on windows2003 standard server in IIS 6.0 sessions are getting expired immediately. Could any one help me in managing sessions in iis 6.0 and ASP?
View RepliesI am hosing website using ASP on windows2003 standard server in IIS 6.0 sessions are getting expired immediately. Could any one help me in managing sessions in iis 6.0 and ASP?
View RepliesHow to manage sessions in iis 6.0 with asp?
View Replies View RelatedI have a fairly ambitious client who would like to offload the management of intranet content to other individuals in the organization. For the project to be successful, the data management must be as painless as possible. Accordingly, the ideal interface for data input is Microsoft Word, as most users are extremely comfortable working with it.
I would like to be able to create word templates/forms which are dynamically populated with data from an database, then downloaded to the client PC. Once the data is updated, I would like the user to upload their files back to the server, which will in turn update its database and maintain an audit-trail of all changes.
Can this be done? I'm assuming that if I install Office on the server, it would be feasible using the office API, but I would love to be able to do this without office on the server.
I keep getting this error when I want to upload an image .
Microsoft VBScript runtime error '800a0046'
Permission denied
/sljobs/uploadphoto.asp, line 39
Do I have to give read/write permissions to the Scripts folder as well? what is the process for managing permissions to the folder?
Can any body help me in developing the code for managing playlists. The code allows us to select/deselect audio files into/out of the playlist. I am trying to develop a radio. so any idea about real time playback is also welcome.
View Replies View RelatedI have a site that enables users to search for property details and access a specific property brochure. They can search by price and other property features etc.
This is all working fine, I now need to be able to return usesr to a specific page within the result set after they have viewed a specific property. I dont want to rely on the back button, I would like to provide a link which returns them to the result page they came from. The users are not known to the site.
What is the most efficient way of handling this, I have had a look a several options but I'm realy not sure what it the most efficient.
I've got ASP files in many sub-folders of many levels deep. I've always used:
<!-- #INCLUDE VIRTUAL="/VIRTUALSITE/SUBFOLDER1/SUBFOLDER2/FILE.asp" -->
The VIRTUALSITE name is really the virtual directory created under IIS. I clone my website multiple times, to cater for different people. So, each person gets a different VIRTUALSITE name. This gets messy when I need to update the websites. I can't do a diff/merge because the files of each site had a "search & replace" applied to them to change the VIRTUALSITE name to the corresponding person.
I've got ASP files in many sub-folders of many levels deep.
I've always used:
<!-- #INCLUDE VIRTUAL="/VIRTUALSITE/SUBFOLDER1/SUBFOLDER2/FILE.asp"
-->
The VIRTUALSITE name is really the virtual directory created under
IIS.
I clone my website multiple times, to cater for different people. So,
each person gets a different VIRTUALSITE name.
This gets messy when I need to update the websites. I can't do a
diff/merge because the files of each site had a "search & replace"
applied to them to change the VIRTUALSITE name to the corresponding
person.
Has anyone experienced this problem? Can someone give me some
tips/solution on how to resolve this?
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.
Can someone explain to me how you set a session and how you check the session?
View Replies View RelatedI 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?
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.
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 RelatedI 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.
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".
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:
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 RelatedI'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?
I've just created a simple form that writes information to an
Access database using ASP. Everything works fine. My question is, would
there be any reason to use the session object other than for tracking
purposes.
Specifically, does a session have any inportance on multiple
users accessing pages and submitting the form inforamtion to the database.
I was curious about errors to the database with multiple users submitting at
the same time to the database. This is a small scale application and not
expected to have large number of hits. As stated I'm new to using ASP and
just wanted to get some input.
I have used SESSIONS on mission critical pages on my site, and if sessions are not enabled / supoorted - these pages will fail. When and why would a session fail? They do not store any info client side,and rely on the server to store session objects in memory, am I correct? Would security settings or privacy controls ever stop sessions working? Which "popular" browsers dont support sessions?
View Replies View RelatedAre sessions stored on the server or the visitors PC?
View Replies View RelatedI don't know how to do anything with session and I don't need anything complicated at all. All i need it to do is like create a session when they login sucessfully. And like I want to add on every page if they don't have a session id and the correct access priveleges or watever to redirect them to the login page.how would i do that?
View Replies View RelatedI've had a look around the site but can't find exactly what i'm looking for.I'm writing a small ticket booking engine in asp and am wondering about sessions.Do I need them ? and what is involved in adding them to my code?
View Replies View RelatedI am trying to set a session with a few variables so i can retrieve them and use them to display results on another page so far my code is
This is for setting the session
Session["Name"] = "shiodsgj";
Session["MaxPrice"] = "nkfskgjk";
Retrieving the session
user.Text = (String)Session["User"];
MaxPrice.Text = (String)Session["Network"];
Do i need to create a session if so how, I understand that session.add(string, object) does this but i am recieving errors whilst doing this.
a user logs into a website (im using acess for the database, asp for the pages), they are then in a members only area. They should have the ability to view their own personal details and change them if they wish. this should be updated in the database.
the problem is im not sure how to go about it. i seen sessions mentioned in tutorials but im still ,well, lost basically.
I've got two different sets of ASP scripts on my server. Each set is kept in their own directory. Both sets of scripts use sessions. I want to make sure that the sessions are not accidentially shared between the two sets as they are both different applications.
Right now I'm having a problem when I do a Session.Abandon from one set of scripts it also kills the session for the other set of scripts (I believe they are both using the exact same session). Is there some way I can make sure this doesn't happen?
is there a way that i can use both php and asp on my site. So that i can switch over a session to a new php admin page?
View Replies View RelatedHas anyone had any problems using sessions with XP? Are there any tricks to getting it to work properly?
View Replies View RelatedI have a database add/view/edit/delete page, and you can only get to it by logging in at login.htm (where it checks username & pw and redirects you to the a/v/e/d page.) But if you know the 'Control Panel' address.
you can just type it in and get full access. I figured I must have to check everytime to make sure they logged in. what would be the best way to do this?
how to use sessions in asp for 2 different users?Is it straight forward? Never used them before, a friend said it is worth doing.
View Replies View RelatedI had a contact form set up using CDONTS.NewMail and it worked fine for about two years. I just went in and changed the object to CDO.Message, and adjusted a few of the properties, and while the e-mailing portion of the code still works, none of the session variables on the page work any longer.
I had both the form validation and the message on the "thank you" page set using sessions from the page with the CDO code, but for some reason using CDO cancels the sessions so that Thank You page is blank and the form validation no longer announces which fields need to be completed.
Does ASP allow communications between sessions?
Usually Response sends the response to the destination from which the
Request came.
Is it possible to send the Response to some other client who is connected to
the same page at this moment?
I am working with sessions to check if the user is logged in.
This usually works fine and all my .asp-pages checks if: <%
session.Contents("loggedIn")=True %>
But this only works on my web-hotel
When I run the same pages on my localhost, it can't find any sessions and I
appear to not be logged In.
I have tried to set my localhost on the "trusted sites" list and "always
allow" in "override cookie handling" in my Explorer.