Problens with session when execute a stored procedure in Oracle

E

EMala

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
 
S

Steven Burn

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!
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
474,159
Messages
2,570,879
Members
47,414
Latest member
GayleWedel

Latest Threads

Top