PHP Be Setup To Handle Session
Can PHP Be setup to Handle sessions via a database without much intervention? so that like you coul store all the session data in the database. I have heard there is some sort of flag to enable automatic URL session generation
1] Can this be done at a client level and not a site administrator level?
2] Is it possible with this mechanism to do it to a DB without having to write special code?
3] If you do have to write special code can you still get it to insert the session URL details in the urls automatically?
View Replies
ADVERTISEMENT
I have a web site where once a user has logged on I store their MemberID in a global variable in the global.asa file.
Then in other pages I find out which member I am dealing with by looking at this variable, ie:
<%
Private lgMemberID
lgMemberID = Session.Contents("MemberID")
%>
I then use this variable to query a database... Code:
View Replies
View Related
I'm a bit fed up with having to constantly change my INCLUDE statements from INCLUDE FILE to INCLUDE VIRTUAL when I'm ready to put a new page out on my webserver. How can I configure IIS on my WinXP Laptop to mimic how my hosting company has their server setup?
View Replies
View Related
I setup SSL. Now users can see the site at port 80 and at port 443. i want to disable 80.
How to?
View Replies
View Related
I have a problem with uploading my sql database and I dont know how to set up it
and how to adjust it with asp.
View Replies
View Related
Is there code that I can write that will change the user's printer setup so that my web page will always print out on one page. I would like the output of the page to look the same no matter who is printing the page. How do I do this?
View Replies
View Related
I have JMail installed, and when I code for remote servers, I am able to send the mail just fine, however I have yet to figure out how to test locally with IIS 5.1's mail server.
Does anyone have some information on how to setup the local system so I can test this feature before I script for it remotely? I'm sure that there 2 key points where I'm having a problem is
1. Setting up the IIS Mail Server
2. Defining the Mail Server in the JMail ASP code....
localhost:25
127.0.0.1:25
View Replies
View Related
We have recently developed a document management application for internal use.The application uses SQL Server backend,ASP frontend and also stores the documents uploaded in a folder on the server.
It all works okay at present but when we do implement in the different country. The network is setup such that all the servers are accessible internally
We plan to setup the second site by using a local webserver and altering the asp code to upload the files to thier local server and also setting up the local sql server which replicated the data from our main server.
Is this approach a good one?and How do we maintain the integrity of the Order Number column which is set to Indentity type so it automatically generated a new order if when a new order is created.
View Replies
View Related
To configure CDOSYS, there are values that have to be set similar to:
EXEC @hr = sp_OASetProperty @iMsg, 'Configuration.fields("http://schemas.microsoft.com/cdo/configuration/sendusing").Value','2'
So everytime an email is sent, the script will contact Microsoft's website? Is this information that is being read necessarily taken from Microsoft's website? Is it possible to hold that information locally and or to hard code that information such as:
... ("<hard-coded info>").Value','2'
I would rather not depend on Microsoft to be able to send out email.
View Replies
View Related
I have setup basic authentication on one of my web sites. For some reason, I get challenged when I navigate to some of the ASP's within the website. I have checked all the pages and made sure they all have authorisation set to a specific group.
What can be causing this?
View Replies
View Related
I actually used a tool called HFS(HTTP File Server 2.2a) which allows to
upload or download files but with this tool am able to retrieve the contents
of the page using GET method but not able to test the behavior of POST, PUT
and DELETE HTTP methods. Code:
View Replies
View Related
I just reinstalled my computer and I use to have my Internet explorer set up in such a way that is would give info on the error's on my pages, like it would tell me which line the error was on and what the error was. But I can't remember which option I schould change in the browser to get this working again.
View Replies
View Related
I have an ASP page where I need to give users a button to print the screen in ladscape. How do i do it in vbscript or in javascript. Can't convert the data to pdf and send it to them.If i have to use printer object can someone show me how to create/instantiate a printer object before i can print it.
View Replies
View Related
I have developed a sample website in my system.Is it possible to access the website from a remote mechine using the ipaddress? if it is possibleto access, I hope some body will tell me the procedure how to access.how to setup the website server aty home?
View Replies
View Related
I have Windows XP Home and I want to setup a personal web server that will allow me to run ASP pages off of my home computer but I cannot find any that will allow me to do so. I tried looking for IIS on here but it doesnt come with home, only professional apparently. So is there somewhere I can download it, another server program I can use.
View Replies
View Related
I would like to modify IE page setup before printing the window. But i want to do it without opening the FILE-> Page Setup window. In fact, i would like to remove the header and footer of pages beforeprinting them. but i want to do it using asp or vbscript and without any end user action.
View Replies
View Related
For testing purposes, I need to setup secure communications for a folder on a website in my WinXP Pro IIS. When I right click on the directory in the IIS services window, an go to the Directory Security tab, everything is ghosted.
View Replies
View Related
Could someone lead me in the direction on how to set up server on my home PC so I can view my ASP pages, rather than uploading them to host server to view. The easiest and less painful way.
View Replies
View Related
I am currently running IIS and MySQL on my home PC which runs XP pro. I need to setup a secure webpage that has a form on it where clients can enter their Credit Card details.
Now i know that SSL can be used, but this involves either buying a certificate or creating one. Is there some other way to make a specific webpage come up as https rather than http. Can it be done by some code or something on the server side.
the whole site will be uploaded to a server which i have no information about. The client wants to "look" at the site before uploading it to his server. Is there something like a site key or something?Basically, i'm looking for something that doesn't require a certificate.
View Replies
View Related
I just got one virtual directory setup and try to run my web application from there. I am getting following error:
Microsoft VBScript runtime error '800a01a8'
Object required: 'Session'
I even try to create test.asp and put it in wwwroot folder only code I had was:
<%
Response.write Session.SessionID
%>
and I got same error. Am I missing somehting in my IIS setup? I got IIS 5.0 and front page 2002 extension applied.
View Replies
View Related
i'm looking for a easy to setup web chat script that i can install on IIS? if someone can point me in the right direction it woudl be great, i download a couple cgi scripts but couldn't get them to load.
View Replies
View Related
I have a custom 404 error page. When I change my site properties in IIS (IIS 5.0, BTW) to point to a file, I still get the original 404 error page. But, then I copied my error page to my root, then pointed to it via URL and it works! BUT, I would prefer to use the file page instead of the URL.
View Replies
View Related
I'm trying to setup a receipt page to finalize my whole shopping cart deal.
PayPal is used to pay and it uses IPN to return the data back to my script which inserts everything into the database and then forwards to my receipt page.
The IPN script page stores the orderID under a session variable called orderNumber. With that, I've created recordsets on my receipt page to hold the orders and orderDetails information just fine.
My problem is that neither of these tables hold the product's name so that I can display line items. The orderDetails recordset does have Product ID and is related to the Products table in my database by the productID field.
How can I make the receipt page list the actual names instead of just the IDs?
View Replies
View Related
If I right click on a ASP file in Explorer and choose EDIT, Windows opens a new instance of MSE.EXE and opens the file in that. What I'd like it to do is simply goto the existing open MSE application and open the file in a new tab.
I cant find the correct settings to do this is 'FILE TYPES', could anyone help? Code:
View Replies
View Related
i am want to start learning ASP,and i have a problem people somebody can give me a link with explanation how to install IIS in Win98?
View Replies
View Related
I have a webpage with ASP that is a form. I have the form setup to send the results to an email address (using the Frontpage feature). We have published the page to the web, but it will not send email. It simply does nothing. This is the code:
<form name="Datasheet" method="POST" action="DataSheet.asp" webbot-action="--WEBBOT-SELF--">
<!--webbot bot="SaveResults" S-Email-Format="TEXT/PRE"
S-Email-Address="ray.clark@721-file.com" B-Email-Label-Fields="TRUE" S-Builtin-Fields startspan -->
View Replies
View Related
I am trying to create a popup page to print little cards to Avery labels. I can get the page to work out but it always prints the margins to far over so it doesn't fit in the cells. I was wondering if any one new any resources to give details on how to accomplish this or of another method?I have also tried creating a dynamic word doc but then the user could change the text values which wouldn't work.
View Replies
View Related
I have a page with multiple SSI to content that is managed by other people in the organization. However, occassionally, one of the content managers accidently deletes a file or messes it up, which throws an .ASP error for the whole page. This is not good. I need to display the page, even if some of the include links are broken.
I tried using:
Code:
<%
On Error resume Next
%>
View Replies
View Related
I need to let one person view certain things without having this perons
login. This person is logged in to the microsoft network. How do I get
that info into a variable?
View Replies
View Related
if i have a recordset which contains a variable call remarks(which can be of any value)
how to i store this in an array? wat is the synatx?
array=rs1.Fields("REMARKS").value ???????
the need it cos i need to count the specific number of character inside this REMARKS. meaning say i output char 1 to 100 at box 1... and char 101 to 200 at box 2.
View Replies
View Related
i'm about to built a budget DB driven site for someone. access is the cheapest option for me, as my host charges for mysql, plus i aint used it before! [:I]
they anticipate around 250 visitors per day. would access on a dsn-less jet connection hold up? how many consecutive users would it handle before it fell over.. ?
View Replies
View Related
I've tried inserting this code, but it doen't work. I guess it must be something to do with the byVal keyword used in the constructor for the function?
Code:
'Handle a Null date
If (strDate = "" ) Or (Len(strDate) < 1) Or (strDate = Null) Then
fncFmtDate = "N/A"
Exit Function
End If
View Replies
View Related
I created a web site for a local government office to handle their procurement. When the city modifies a solicitation, all of the respondants need to be notified. Unfortunately, the city wants the email sent to each respondant to be individualized, so I can't just CC or BCC it to several hundred email addresses.
After about 200 emails, the server usually times out. The city is hosting with Verio and Verio won't change the timeout values since it's "virtually hosted". Is there a way to spawn a background task to send the emails? If not, what's the best method for batch send?
View Replies
View Related