Share Sessions ASP To ASP.NET
I have an intranet application in ASP running on Win2003(IIS6). Users log in on ASP pages. If I create an ASP.NET application to run on this intranet will the Session variables from the ASP session be carried over to the ASP.NET application or would I have to create another log in screen in the ASP.NET application to authenticate to the same database?
View Replies
ADVERTISEMENT
Can more than one application (on the same server) share the same Global.asa file? If not, then why?
View Replies
View Related
I really need a coding help regarding sharing Folder Module to specific members through giving them rights for access while using Classic ASP.
View Replies
View Related
We have a web site where we have asp and asp.net.
how can we share session data b/w the two environments.
View Replies
View Related
I was using ASP and Javascript I have a problem with the Session in IE.
When a user opens a new browser window with the file->new window menu item or ctrl N, it shares the sessionid cookie with the original window. That mean both of the window share the same session.I want a new window created refer to diffirent session. How can we solve this problem?
View Replies
View Related
I'm looking for a working example on how to share session state between ASP
and ASP.NET.The solution of Y Yeung of Microsoft seemed to be a good solution but I did
not get the asp part working.Anybody tips, tricks, links ?
View Replies
View Related
We have a web site where we have asp and asp.net.
how can we share session data b/w the two environments.
View Replies
View Related
Does anyone know of a quick and easy way to stream a particular share price
eg: msft into one's website....I have done a google search but I am not
finding anthing specific...is there an asp solution?
View Replies
View Related
My web host gives me two servers, one normal server and one that has SSL on it. When my web page goes to the SSL server I need to read the session variables from the original normal server.
Does anyone know how to go about doing this? The obvious way would be to send a variable with the url and get it with the queryString but I dont want to do that as the customer can see and change things I don't want them to.
View Replies
View Related
I've setup several FTP shares on IIS 5, where some of the shares are
located on another computer, while other directories are on the local
computer.
Is there a function similar to server.mappath that I can use to return
the physical path of a FTP virtual directory using ASP?
For example, I have a virtual directory called TestA located at
C:TestA on the local computer running IIS 5. I have another virtual
directory called TestB located at DevserverTestB where Devserver is
another machine on the network.
In my ASP code, I need to be able to access the physical directories
directly and I would like to avoid having additional code to deal with
hard coded directory paths.
Is there something similar to the command server.mappath("TestB") which
would return "DevserverTestB"? This way, the physical path is
transparent and I can treat local and network shares in the same way.
View Replies
View Related
I'm trying to figure out a quick script that will let me link to a server share where the server could be 1 of a couple of different ones. The share will always be the same, but the server could be any of a list of maybe 5 or so choices as such:
server1share$
server2share$
server3share$
I'd basically like the script to check the different servers until it finds the one where the share exists, then redirect to it. The share will only exist on one server, but which one it is will change.
View Replies
View Related
I have 2 web servers both running win server 2003 with iis 6.0. On my
PROD server I have a virtual directory called CONV. It points to a
folder on the C drive of this PROD server.
On my TEST server, I defined a virtual directory called CONV. It points
to a share called prodservernameCONV. Note that the share name is
the same name as that of the virtual directory.
Using IIS on the TEST server, I can navigate to this CONV virtual
directory and via right mouse, click EXPLORE. I see all the content I
should but when I try to doubleclick on a file I get a message saying
"Security alert" - "your current security settings do not allow you to
perform system commands on this item".
I've tried everything I can think of on the security settings for the
physical folder on the PROD server. I extended EVERYONE from READ, etc.
to FULL CONTROL. I added the user called INTERACTIVE and gave it full
control. In short, I am stumped and guessing now.
Basically, I just want to avoid duplicating all the data files on my
PROD server over to my TEST server.
View Replies
View Related
I have two machines, one generate files, and copy to the other.
I try wscript.shell in my program, but it dit not work.
The two machines are not in the same domain. I saw some people's
question but not suitable for me,their machine are in the same domain.
They can assign permission to do the job.
View Replies
View Related
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
I have a Development server that is running Win2k, IIS 5.0, and ASP enabled. I am trying to gain access to an Access 2000 DB located on a file server within my domain. I'm pretty sure I have all the correct permissions set, but I am having problems when trying to access the DB.
The error is similar to:
The Microsoft Jet Database engine cannot open the file '******'. It is already opened exclusively by another user, or you need permission to view its data.
I'm looking for ways to fix this... Microsoft suggests turning off the ability for IIS to sync passwords. Unfortunately, this is not a viable solution for me.
Is it possible to create a new virtual server that is a share to my file server? Put my ASP and MDB file in there and have it work? Anyone have any other ideas?
View Replies
View Related
Can someone explain to me how you set a session and how you check the session?
View Replies
View Related
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
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
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
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
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
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
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
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
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.
View Replies
View Related
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 Related
Are sessions stored on the server or the visitors PC?
View Replies
View Related
I 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 Related
I'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 Related
I 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.
View Replies
View Related
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.
View Replies
View Related
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?
View Replies
View Related
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 Related