473,404 Members | 2,187 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,404 software developers and data experts.

Problens with session when execute a stored procedure in Oracle

Hello everybody!
I have a problem and I dont find a answer...
Please help me.
I have a application, that the user log in the app, get a
usersessionID, and buy the products on my virtual mall..
The problen occurs whe the user lost his session and try to navigate
in the virtual mall...
He gets the message:
OraOLEDB error '80004005'
Erro não especificado (dont specific error..)
In line 90

"The line 90" try to execute a procedure in Oracle, but how the
session is empty, the error occours...

THE LINE 90!
Cmd1.CommandText = "SP_PESQUISA(" & id_mall & ",'" & search &
"',null)"
Set rsProduto1 = Cmd1.Execute

Thanks a lot for the help and sorry by my bad english
Best Regards
EMala
Jul 19 '05 #1
1 1297
Why not just have;

If Session("Whatever") = True Then
Cmd1.CommandText = "SP_PESQUISA(" & id_mall & ",'" & search & "',null)"
Set rsProduto1 = Cmd1.Execute
Else
Response.Write "Woops, your session has expired"
End If

--

Regards

Steven Burn
Ur I.T. Mate Group
www.it-mate.co.uk

Keeping it FREE!
"EMala" <em****@bettainformatica.com.br> wrote in message
news:ad**************************@posting.google.c om...
Hello everybody!
I have a problem and I dont find a answer...
Please help me.
I have a application, that the user log in the app, get a
usersessionID, and buy the products on my virtual mall..
The problen occurs whe the user lost his session and try to navigate
in the virtual mall...
He gets the message:
OraOLEDB error '80004005'
Erro não especificado (dont specific error..)
In line 90

"The line 90" try to execute a procedure in Oracle, but how the
session is empty, the error occours...

THE LINE 90!
Cmd1.CommandText = "SP_PESQUISA(" & id_mall & ",'" & search &
"',null)"
Set rsProduto1 = Cmd1.Execute

Thanks a lot for the help and sorry by my bad english
Best Regards
EMala

Jul 19 '05 #2

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

3
by: Fred Morrison | last post by:
Does DB2 have anything equivalent to Oracle's PRAGMA AUTONOMOUS_TRANSACTION that allows a stored procedure to BEGIN, COMMIT or ROLLBACK a totally independent transaction while possibly (but not...
0
by: Brew | last post by:
Hello, I'm writing an ASP.NET 2005 (VB) Website with an Oracle 9i backend I have an oracle package with stored procedures and functions I need to use from the VB Code, I'm trying to use the...
0
by: cetram | last post by:
Hello! I'm trying to fix an appliaction created using ColdFusion MX and Oracle 9i. The application worked fine until our IT department reinstalled the oracle server. As far as I've been able to...
14
by: jehugaleahsa | last post by:
Hello: I am working with Oracle .NET Stored Procedures. I would like to know how to return the results of a SELECT statement. I have tried returning a OracleRefCursor and a DataTable, but...
1
by: zrtv | last post by:
hi All, Iam new in oracle stored procedure, i have one stored procedure and it has to be accessed from vb6. my stored procedure as follows -- employee salary will be entered by the user and...
1
by: shruthimr | last post by:
Hello, I have written a java stored procedure to execute an exe file, which works fine when compiled.The class code is given below. create or replace and resolve java source named...
1
by: Uma | last post by:
Hi.. here is my question.. these are my Oracle scripts . I want the similar concepts in DB2 connect system/manager /********************************************/ /* Create the two roles...
23
by: Gloops | last post by:
Hello everybody, Is anyone able to give me some indications about how to develop an Access interface for an Oracle database ? I dispose of Access 2003 (11.6566.8107) SP2, Oracle 9i 9.2.0.1.0...
3
by: rajkumarbathula | last post by:
Hi I was struck up with big problem of executing a oracle stored procedure in C#. Inputs 1:I am having 1 oracle stored procedure eg. myProc() and this procedure takes 1 INOUT parameter. of type...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.